Added weapon switching cooldown

This commit is contained in:
Marco 2025-05-06 10:53:49 +02:00
commit 9362f66fdf
2 changed files with 36 additions and 1 deletions

View file

@ -166,6 +166,9 @@ public partial class Active : PlayerStateBase
_animationProvider.SetAnimationSpeed(MainObject.Velocity);
_animationProvider.SetAnimation(FacingDirection);
HandleWeaponSwitch();
_weaponProvider.Update(delta);
//_crosshairProvider.UpdatePosition(FacingDirection);
HandleShoot();