This commit is contained in:
2024-03-27 00:17:23 -04:00
parent c01b927dfb
commit 5c9b5efbf8
12 changed files with 191 additions and 30 deletions

View File

@@ -4,25 +4,25 @@ mod phos;
use phos::PhosGamePlugin;
fn main() {
App::new()
.add_plugins((
DefaultPlugins.set(WindowPlugin {
primary_window: Some(Window {
title: "Phos".into(),
name: Some("phos".into()),
resolution: (1920.0, 1080.0).into(),
resizable: false,
enabled_buttons: bevy::window::EnabledButtons {
maximize: false,
..Default::default()
},
..default()
}),
..default()
}),
WireframePlugin,
WorldInspectorPlugin::new(),
PhosGamePlugin,
))
.run();
App::new()
.add_plugins((
DefaultPlugins.set(WindowPlugin {
primary_window: Some(Window {
title: "Phos".into(),
name: Some("phos".into()),
resolution: (1920.0, 1080.0).into(),
resizable: false,
enabled_buttons: bevy::window::EnabledButtons {
maximize: false,
..Default::default()
},
..default()
}),
..default()
}),
WireframePlugin,
WorldInspectorPlugin::new(),
PhosGamePlugin,
))
.run();
}