Setup basic resources
This commit is contained in:
@ -4,7 +4,8 @@ pub struct PlayerPlugin;
|
||||
|
||||
impl Plugin for PlayerPlugin {
|
||||
fn build(&self, app: &mut AppBuilder) {
|
||||
app.add_startup_system(add_player.system())
|
||||
app.insert_resource(GreetTimer(Timer::from_seconds(2.0, true)))
|
||||
.add_startup_system(add_player.system())
|
||||
.add_system(greet_player.system());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user