mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-08 08:15:54 +00:00
Weapon sounds
This commit is contained in:
parent
22a1ec5ba2
commit
3c531bbe04
14 changed files with 174 additions and 52 deletions
|
|
@ -95,8 +95,7 @@ public partial class PlayerWeaponProvider : Node2D
|
|||
public void Shoot(Vector2 direction)
|
||||
{
|
||||
if (EquippedWeapon == null) return;
|
||||
|
||||
|
||||
|
||||
EquippedWeapon.ShootDirection = direction;
|
||||
EquippedWeapon.Shoot();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -170,8 +170,6 @@ public partial class Active : PlayerStateBase
|
|||
//CallDeferred(MethodName.PauseDeferred);
|
||||
PauseDeferred();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void PauseDeferred()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue