create scaffolding

This commit is contained in:
Jim 2025-08-24 09:42:18 -04:00
commit 82a0fbdb50
Signed by: jim
GPG key ID: 3236D2F059A7C0AC
25 changed files with 6993 additions and 0 deletions

26
src/main.rs Normal file
View file

@ -0,0 +1,26 @@
use bevy::prelude::*;
fn main() {
let mut app = App::new();
app.add_plugins(DefaultPlugins.set(WindowPlugin {
primary_window: Some(Window {
title: "Coreheart".to_string(),
..default()
}),
..default()
}))
.add_plugins((
state::StatePlugin,
physics::PhysicsPlugin,
// ui must come before the sub crates
ui::UiPlugin,
ui_state::UiStatePlugin,
ui_debug::UiDebugPlugin,
input::InputPlugin,
setup::SetupPlugin,
ui_pause::UiPausePlugin,
// new internal crates go here
));
app.run();
}