Implement basic player plugin
This commit is contained in:
10
src/plugins/mod.rs
Normal file
10
src/plugins/mod.rs
Normal file
@ -0,0 +1,10 @@
|
||||
use crate::prelude::*;
|
||||
|
||||
pub struct PlayerPlugin;
|
||||
|
||||
impl Plugin for PlayerPlugin {
|
||||
fn build(&self, app: &mut AppBuilder) {
|
||||
app.add_startup_system(add_player.system())
|
||||
.add_system(greet_player.system());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user