예제 #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);
     }
 }
예제 #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);
     }
 }