mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-05 13:45:54 +00:00
Simple knockback implementation
This commit is contained in:
parent
0146de8ab5
commit
78fe44e6ec
10 changed files with 96 additions and 8 deletions
|
|
@ -22,6 +22,7 @@ public partial class EnemyStorageModule : Node2D, IFSMStorage
|
|||
public Vector2 FacingDirection { get; set; }
|
||||
|
||||
public Vector2 AimingDirection { get; set; }
|
||||
public Vector2 KnockbackVelocity { get; set; } = Vector2.Zero;
|
||||
|
||||
public float MovementSpeed => Root.EnemyResource.MovementSpeed;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue