2024-02-26 23:12:14 +00:00
|
|
|
use bevy::prelude::*;
|
2024-06-18 20:26:18 +00:00
|
|
|
// use bevy_gltf_worlflow_examples_common::CommonPlugin;
|
|
|
|
mod state;
|
|
|
|
use state::*;
|
2024-02-26 23:12:14 +00:00
|
|
|
|
|
|
|
mod core;
|
|
|
|
use crate::core::*;
|
|
|
|
|
|
|
|
mod game;
|
|
|
|
use game::*;
|
|
|
|
|
2024-04-30 09:58:03 +00:00
|
|
|
mod dupe_components;
|
2024-02-26 23:12:14 +00:00
|
|
|
mod test_components;
|
|
|
|
use test_components::*;
|
|
|
|
|
2024-06-18 20:26:18 +00:00
|
|
|
mod hierarchy_debug;
|
|
|
|
use hierarchy_debug::*;
|
|
|
|
|
2024-02-26 23:12:14 +00:00
|
|
|
fn main() {
|
|
|
|
App::new()
|
|
|
|
.add_plugins((
|
|
|
|
DefaultPlugins.set(AssetPlugin::default()),
|
2024-06-18 20:26:18 +00:00
|
|
|
HiearchyDebugPlugin,
|
2024-02-26 23:12:14 +00:00
|
|
|
// our custom plugins
|
2024-06-18 20:26:18 +00:00
|
|
|
// CommonPlugin,
|
|
|
|
StatePlugin,
|
2024-02-26 23:12:14 +00:00
|
|
|
CorePlugin, // reusable plugins
|
|
|
|
GamePlugin, // specific to our game
|
|
|
|
ComponentsTestPlugin, // Showcases different type of components /structs
|
|
|
|
))
|
|
|
|
.run();
|
|
|
|
}
|