feat: Player attacking

- Added BpmTimer.accuracy method
- Added Weapon.attack_offset method
- Replaced beats_remaining with timer in Attacking and Awaiting
- AttackArea spawning on Attacking end
This commit is contained in:
Alexey 2026-04-17 12:53:20 +03:00
commit fb1923fe53
9 changed files with 107 additions and 58 deletions

View file

@ -25,6 +25,7 @@ impl Plugin for GamePlugin {
))
.add_systems(Startup, setup)
.add_systems(Update, (
combat::attack::update_attack_areas,
player::systems::handle_input,
timer::update_bpm_timers,
))