mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-08 02:25:54 +00:00
Controllable enemies
This commit is contained in:
parent
cf4b11d157
commit
0aad79a0f8
18 changed files with 893 additions and 23 deletions
|
|
@ -13,11 +13,13 @@ public partial class EnemyStorageModule : Node2D
|
|||
|
||||
public Vector2 MovementDirection { get; set; }
|
||||
public Vector2 FacingDirection { get; set; }
|
||||
|
||||
public Vector2 AimingDirection { get; set; }
|
||||
|
||||
public float MovementSpeed => Root.EnemyResource.MovementSpeed;
|
||||
|
||||
public IEnumerable<LootDrop> LootDrops => Root.EnemyResource.LootDrops.Concat(Root.ExtraLoot);
|
||||
|
||||
|
||||
public AiState AiState { get; set; }
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue