Esempio n. 1
0
 public TileMap()
 {
     for (int y = 0; y < MapHeight; y++)
     {
         MapRow thisRow = new MapRow();
         for (int x = 0; x < MapWidth; x++)
         {
             thisRow.Columns.Add(new MapCell(0));
         }
         Rows.Add(thisRow);
     }
 }
Esempio n. 2
0
 public TileMap()
 {
     for (int y = 0; y < MapHeight; y++)
     {
         MapRow thisRow = new MapRow();
         for (int x = 0; x < MapWidth; x++)
         {
             thisRow.Columns.Add(new MapCell(0));
         }
         Rows.Add(thisRow);
     }
 }