Renames game_plugin to hello_plugin to prepare for the real game_plugin

master
Joey Pollack 2 years ago
parent b53580c13e
commit b9e9069509

@ -1,9 +1,9 @@
use bevy::prelude::*; use bevy::prelude::*;
pub struct GamePlugin; pub struct HelloPlugin;
impl Plugin for GamePlugin impl Plugin for HelloPlugin
{ {
fn build(&self, app: &mut App) fn build(&self, app: &mut App)
{ {

@ -1,14 +1,13 @@
use bevy::prelude::*; use bevy::prelude::*;
mod game_plugin; mod hello_plugin;
use hello_plugin::HelloPlugin;
use game_plugin::GamePlugin;
fn main() fn main()
{ {
App::new() App::new()
.add_plugins((DefaultPlugins, GamePlugin)) .add_plugins((DefaultPlugins, HelloPlugin))
.run(); .run();
} }

Loading…
Cancel
Save