use bevy::prelude::*; use bevy_ecs_tilemap::TilemapPlugin; use game_core::assets::AssetHandles; use game_core::system::flow::AppState; use game_core::system::resources::InitAppPlugins; use game_core::ui::AdventUIPlugins; use iyes_loopless::prelude::AppLooplessStateExt; use micro_musicbox::CombinedAudioPlugins; fn main() { App::new() .add_loopless_state(AppState::Preload) .add_plugins(InitAppPlugins) .add_plugin(game_core::assets::AssetsPlugin) .add_plugins(CombinedAudioPlugins::<AssetHandles>::new()) .add_plugin(game_core::splash_screen::SplashScreenPlugin) .add_plugin(game_core::system::camera::CameraManagementPlugin) .add_plugin(game_core::states::StatesPlugin) .add_plugin(micro_asset_io::MicroAssetIOPlugin) .add_plugin(bevy_tweening::TweeningPlugin) .add_plugin(game_core::world::WorldPlugin) .add_plugin(TilemapPlugin) .add_plugin(game_core::graphics::GraphicsPlugin) .add_plugins(AdventUIPlugins) .run(); }