mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:55:35 +00:00
19 lines
369 B
C#
19 lines
369 B
C#
|
|
using Godot;
|
|||
|
|
|
|||
|
|
namespace Cirno.Scripts.Components.FSM.Enemy;
|
|||
|
|
|
|||
|
|
public partial class EnemyStorageModule : Node2D
|
|||
|
|
{
|
|||
|
|
[Export]
|
|||
|
|
public EnemyFSMProxy Root { get; private set; }
|
|||
|
|
|
|||
|
|
public Vector2 MovementDirection { get; set; }
|
|||
|
|
public Vector2 FacingDirection { get; set; }
|
|||
|
|
|
|||
|
|
public float MovementSpeed => Root.EnemyResource.MovementSpeed;
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|