mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-06 16:35:54 +00:00
Added reaction time to enemies
This commit is contained in:
parent
1c4897f054
commit
543f5f0d6b
11 changed files with 63 additions and 31 deletions
|
|
@ -1,5 +1,6 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Cirno.Scripts.Resources;
|
||||
using Cirno.Scripts.Resources.Loot;
|
||||
using Godot;
|
||||
using Godot.Collections;
|
||||
|
|
@ -10,6 +11,8 @@ public partial class EnemyStorageModule : Node2D
|
|||
{
|
||||
[Export]
|
||||
public EnemyFSMProxy Root { get; private set; }
|
||||
|
||||
public EnemyResource EnemyData => Root.EnemyResource;
|
||||
|
||||
public Vector2 MovementDirection { get; set; }
|
||||
public Vector2 FacingDirection { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue