setup stuff in a plugin
This commit is contained in:
parent
693f79de3c
commit
ad97bb7aab
1 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
use bevy::prelude::*;
|
use bevy::prelude::*;
|
||||||
|
|
||||||
|
mod scene;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
App::new()
|
App::new()
|
||||||
.insert_resource(ClearColor(Color::rgb(0.0,0.02,0.1)))
|
.insert_resource(ClearColor(Color::rgb(0.0,0.02,0.1)))
|
||||||
|
@ -10,9 +12,12 @@ fn main() {
|
||||||
..Default::default()
|
..Default::default()
|
||||||
})
|
})
|
||||||
.add_plugins(DefaultPlugins)
|
.add_plugins(DefaultPlugins)
|
||||||
// .add_plugin(BuildScenePlugin)
|
.add_plugin(scene::BuildScenePlugin)
|
||||||
// .add_system(hello_world)
|
// .add_system(hello_world)
|
||||||
// .add_startup_system(add_scene)
|
// .add_startup_system(add_scene)
|
||||||
// .add_system(print_positions)
|
// .add_system(print_positions)
|
||||||
.run();
|
.run();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue