private void setUpWallTiles() { for (int x = 0; x < LevelMap.Width / LevelMap.TileWidth; x++) { for (int y = 0; y < LevelMap.Height / LevelMap.TileHeight; y++) { Vector2 tilePosition = calculateTilePosition(x, y); WallTile wallTile = new WallTile(world, tilePosition, this.LevelMap.TileWidth, this.LevelMap.TileHeight, randomTileRotation()); this.WallTiles.Add(wallTile); } } }