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(); } }
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(); } }