convert core to new format, improve tower placement
This commit is contained in:
parent
2808f6dd2c
commit
bc02db7b26
12 changed files with 250 additions and 107 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#![allow(clippy::type_complexity)]
|
||||
#![allow(clippy::too_many_arguments)]
|
||||
|
||||
use avian3d::prelude::*;
|
||||
use bevy::prelude::*;
|
||||
use bevy_inspector_egui::quick::WorldInspectorPlugin;
|
||||
use input::{actions::InputAction, conditions::action_just_pressed};
|
||||
|
|
@ -13,6 +14,7 @@ impl Plugin for UiDebugPlugin {
|
|||
fn build(&self, app: &mut App) {
|
||||
app.init_state::<DebugUIState>()
|
||||
.add_plugins(WorldInspectorPlugin::new().run_if(in_state(DebugUIState::Enabled)))
|
||||
.add_plugins(PhysicsDebugPlugin::default())
|
||||
.add_systems(
|
||||
Update,
|
||||
toggle_debug_ui
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue