♻️ Better miner tile
This commit is contained in:
@@ -51,7 +51,7 @@ public partial class GridManager : Node
|
||||
}
|
||||
}
|
||||
|
||||
public Node2D? GetBuildingAtCell(Vector2I cell, GridLayer layer = GridLayer.Building)
|
||||
public Node2D? GetTileAtCell(Vector2I cell, GridLayer layer = GridLayer.Building)
|
||||
{
|
||||
return _layers[layer].TryGetValue(cell, out var data) ? data.Building : null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user