diff options
Diffstat (limited to 'scripts/actors/Actor.cs')
| -rw-r--r-- | scripts/actors/Actor.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/actors/Actor.cs b/scripts/actors/Actor.cs index f35939a..f429ead 100644 --- a/scripts/actors/Actor.cs +++ b/scripts/actors/Actor.cs @@ -1,10 +1,13 @@ using Godot; [GlobalClass] -public abstract partial class Actor : Sprite2D { +public abstract partial class Actor : Sprite2D +{ [Export] private ActorDefinition definition; private Vector2I gridPosition = Vector2I.Zero; + [Export] + public DungeonLevel Map { get; private set; } public Vector2I GridPosition { set { gridPosition = value; |
