public void SetTiles(Tile[,] tiles) { Tiles = tiles; _mapWidth = Tiles.GetLongLength(0); _mapHeight = Tiles.GetLongLength(1); }