mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-05 11:16:01 +00:00
Dropping and picking up
This commit is contained in:
parent
488d02ef81
commit
bcd007fa1e
14 changed files with 294 additions and 62 deletions
|
|
@ -7,11 +7,13 @@ using Godot.Collections;
|
|||
|
||||
namespace Cirno.Scripts.Components.FSM.Enemy;
|
||||
|
||||
public partial class EnemyStorageModule : Node2D
|
||||
public partial class EnemyStorageModule : Node2D, IFSMStorage
|
||||
{
|
||||
[Export]
|
||||
public EnemyFSMProxy Root { get; private set; }
|
||||
|
||||
public Node2D RootAsNode => Root;
|
||||
|
||||
public EnemyResource EnemyData => Root.EnemyResource;
|
||||
|
||||
public Vector2 MovementDirection { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue