Пример #1
0
 public Map()
 {
     rows = new Row[3];
     for (int x = 0; x <= rows.Length - 1; x++)
     {
         rows[x] = new Row(10);
     }
 }
Пример #2
0
 public Map(int sizeX, int sizeY)
 {
     rows = new Row[sizeY];
     for (int x = 0; x <= rows.Length - 1; x++)
     {
         rows[x] = new Row(sizeX);
     }
 }