Renames game_plugin to hello_plugin to prepare for the real game_plugin
parent
b53580c13e
commit
b9e9069509
@ -1,9 +1,9 @@
|
||||
|
||||
use bevy::prelude::*;
|
||||
|
||||
pub struct GamePlugin;
|
||||
pub struct HelloPlugin;
|
||||
|
||||
impl Plugin for GamePlugin
|
||||
impl Plugin for HelloPlugin
|
||||
{
|
||||
fn build(&self, app: &mut App)
|
||||
{
|
||||
@ -1,14 +1,13 @@
|
||||
|
||||
use bevy::prelude::*;
|
||||
|
||||
mod game_plugin;
|
||||
|
||||
use game_plugin::GamePlugin;
|
||||
mod hello_plugin;
|
||||
use hello_plugin::HelloPlugin;
|
||||
|
||||
fn main()
|
||||
{
|
||||
App::new()
|
||||
.add_plugins((DefaultPlugins, GamePlugin))
|
||||
.add_plugins((DefaultPlugins, HelloPlugin))
|
||||
.run();
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue