add souls and bones + tower cost and enemy drops

This commit is contained in:
Jim 2025-08-30 23:39:18 -04:00
parent bc02db7b26
commit 138a524abd
Signed by: jim
GPG key ID: 3D7D94BA53088BF4
18 changed files with 151 additions and 14 deletions

View file

@ -4,7 +4,7 @@
use bevy::prelude::*;
use input::{actions::InputAction, conditions::action_just_pressed};
use state::{GameState, GameSystemSet};
use state::GameState;
pub struct UiPausePlugin;
@ -12,9 +12,7 @@ impl Plugin for UiPausePlugin {
fn build(&self, app: &mut App) {
app.add_systems(
Update,
toggle_pause
.in_set(GameSystemSet::PreUpdate)
.run_if(action_just_pressed::<Update>(InputAction::TogglePause)),
toggle_pause.run_if(action_just_pressed::<Update>(InputAction::TogglePause)),
);
}
}