summaryrefslogtreecommitdiff
path: root/scripts/Map/Tile.cs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Map/Tile.cs')
-rw-r--r--scripts/Map/Tile.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/Map/Tile.cs b/scripts/Map/Tile.cs
index 6790f3e..03039e0 100644
--- a/scripts/Map/Tile.cs
+++ b/scripts/Map/Tile.cs
@@ -8,7 +8,8 @@ namespace TheLegendOfGustav.Map;
public enum TileType
{
WALL,
- FLOOR
+ FLOOR,
+ DOWN_STAIRS
}
/// <summary>
@@ -22,7 +23,8 @@ public partial class Tile : Sprite2D, ISaveable
private static readonly Godot.Collections.Dictionary<TileType, TileDefinition> Types = new()
{
{TileType.WALL, GD.Load<TileDefinition>("res://assets/definitions/tiles/wall.tres")},
- {TileType.FLOOR, GD.Load<TileDefinition>("res://assets/definitions/tiles/floor.tres")}
+ {TileType.FLOOR, GD.Load<TileDefinition>("res://assets/definitions/tiles/floor.tres")},
+ {TileType.DOWN_STAIRS, GD.Load<TileDefinition>("res://assets/definitions/tiles/downstairs.tres")}
};
TileType key;