diff options
Diffstat (limited to 'scripts/actors/Actor.cs')
| -rw-r--r-- | scripts/actors/Actor.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/actors/Actor.cs b/scripts/actors/Actor.cs index 7e9ab04..a759fef 100644 --- a/scripts/actors/Actor.cs +++ b/scripts/actors/Actor.cs @@ -5,11 +5,11 @@ public abstract partial class Actor : Sprite2D { private ActorDefinition definition; private Vector2I gridPosition = Vector2I.Zero; - public DungeonLevel Map { get; private set; } + public MapData Map_Data { get; private set; } - public Actor(Vector2I initialPosition, DungeonLevel map, ActorDefinition definition) { + public Actor(Vector2I initialPosition, MapData map, ActorDefinition definition) { GridPosition = initialPosition; - Map = map; + Map_Data = map; this.definition = definition; Texture = definition.texture; Centered = false; |
