Ejemplo n.º 1
0
 public TileGroup(int width, int height)
 {
     buffer = new TileCell[width, height];
     for(int y = 0; y < height; ++y) {
         for(int x = 0; x < width; ++x)
             buffer[x, y] = new TileCell();
     }
 }
Ejemplo n.º 2
0
 public Section(Vector offset)
 {
     this.offset = offset;
     for(int y = 0; y < Size; ++y) {
         for(int x = 0; x < Size; ++x)
             cells[x, y] = new TileCell();
     }
 }