mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-08 22:15:55 +00:00
Added weapon switching cooldown
This commit is contained in:
parent
ddadb9bd04
commit
9362f66fdf
2 changed files with 36 additions and 1 deletions
|
|
@ -166,6 +166,9 @@ public partial class Active : PlayerStateBase
|
|||
_animationProvider.SetAnimationSpeed(MainObject.Velocity);
|
||||
_animationProvider.SetAnimation(FacingDirection);
|
||||
|
||||
HandleWeaponSwitch();
|
||||
_weaponProvider.Update(delta);
|
||||
|
||||
//_crosshairProvider.UpdatePosition(FacingDirection);
|
||||
|
||||
HandleShoot();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue