Esempio n. 1
0
 public MapSample()
 {
     m_Map = new TileSample[WIDTH][];
       for (var x = 0; x < m_Map.Length; x++) {
     m_Map[x] = new TileSample[HEIGHT];
     for (var y = 0; y < m_Map[x].Length; y++) {
       m_Map[x][y] = new TileSample();
     }
       }
 }
Esempio n. 2
0
 public MapSample()
 {
     m_Map = new TileSample[WIDTH][];
     for (var x = 0; x < m_Map.Length; x++)
     {
         m_Map[x] = new TileSample[HEIGHT];
         for (var y = 0; y < m_Map[x].Length; y++)
         {
             m_Map[x][y] = new TileSample();
         }
     }
 }