mirror of
https://github.com/kaosat-dev/Blender_bevy_components_workflow.git
synced 2024-11-23 04:10:53 +00:00
23 lines
490 B
Rust
23 lines
490 B
Rust
|
use bevy::prelude::*;
|
||
|
|
||
|
mod core;
|
||
|
use crate::core::*;
|
||
|
|
||
|
mod game;
|
||
|
use game::*;
|
||
|
|
||
|
mod test_components;
|
||
|
use test_components::*;
|
||
|
|
||
|
fn main() {
|
||
|
App::new()
|
||
|
.add_plugins((
|
||
|
DefaultPlugins.set(AssetPlugin::default()),
|
||
|
// our custom plugins
|
||
|
CorePlugin, // reusable plugins
|
||
|
GamePlugin, // specific to our game
|
||
|
ComponentsTestPlugin, // Showcases different type of components /structs
|
||
|
))
|
||
|
.run();
|
||
|
}
|