From efb712cb70ca1d0913bb69456ac2344fbaacad0e Mon Sep 17 00:00:00 2001 From: Matheus Date: Sun, 24 Aug 2025 21:46:00 -0300 Subject: Gerador de masmorras. --- scripts/map/Tile.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/map/Tile.cs') diff --git a/scripts/map/Tile.cs b/scripts/map/Tile.cs index c910b01..865cbbd 100644 --- a/scripts/map/Tile.cs +++ b/scripts/map/Tile.cs @@ -5,7 +5,7 @@ public partial class Tile : Sprite2D { private TileDefinition definition; - public bool IsWalkable { get; set; } + public bool IsWalkable { get; private set; } public Tile(Vector2I pos, TileDefinition definition) { @@ -17,6 +17,6 @@ public partial class Tile : Sprite2D public void SetDefinition(TileDefinition definition) { this.definition = definition; Texture = definition.Texture; - this.IsWalkable = definition.IsWalkable; + IsWalkable = definition.IsWalkable; } } -- cgit v1.2.3