public void FillMap() { for (int x = 0; x < MapWidth; x++) { for (int y = 0; y < MapHeight; y++) { map[x, y] = new EmptyTile(x, y); } } }
public void InitializeMap() { for (int x = 0; x < MapWidth; x++) { for (int y = 0; y < MapHeight; y++) { map[x, y] = new EmptyTile(x, y); } } SpawnObstacles(); }