From d6fc2026917d55fa12713e3d00004ec461cc5971 Mon Sep 17 00:00:00 2001 From: Matheus Date: Thu, 30 Oct 2025 17:31:00 -0300 Subject: vĂ¡rios andares MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/Map/Tile.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'scripts/Map/Tile.cs') 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 } /// @@ -22,7 +23,8 @@ public partial class Tile : Sprite2D, ISaveable private static readonly Godot.Collections.Dictionary Types = new() { {TileType.WALL, GD.Load("res://assets/definitions/tiles/wall.tres")}, - {TileType.FLOOR, GD.Load("res://assets/definitions/tiles/floor.tres")} + {TileType.FLOOR, GD.Load("res://assets/definitions/tiles/floor.tres")}, + {TileType.DOWN_STAIRS, GD.Load("res://assets/definitions/tiles/downstairs.tres")} }; TileType key; -- cgit v1.2.3