diff options
| author | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-08-24 21:46:00 -0300 |
|---|---|---|
| committer | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-08-24 21:46:00 -0300 |
| commit | efb712cb70ca1d0913bb69456ac2344fbaacad0e (patch) | |
| tree | f59a1ce426ed8ee9373b1577126c55c8017dbc4a /scripts/map/Tile.cs | |
| parent | 723e66a82606ee78ca4156a0c0a850185b4c0369 (diff) | |
Gerador de masmorras.
Diffstat (limited to 'scripts/map/Tile.cs')
| -rw-r--r-- | scripts/map/Tile.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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; } } |
