diff --git a/src/game.rs b/src/game.rs index d3ed80f..87fbfa8 100644 --- a/src/game.rs +++ b/src/game.rs @@ -6,47 +6,10 @@ use crate::start_menu::StartMenu; /// The top-level structure of our game, which is a bevy plugin pub struct Game {} -#[derive(Component)] -struct Person; - -#[derive(Component)] -struct Name(String); - -#[derive(Resource)] -struct Greeter { - timer: Timer, -} - -fn register_people(mut commands: Commands) { - commands.spawn((Person, Name(String::from("Alice")))); - commands.spawn((Person, Name(String::from("Bob")))); - commands.spawn((Person, Name(String::from("Carol")))); -} - -fn greet(time: Res