public TileSet(int numTiles) { tileInfos = new TileInfo[numTiles]; for (int i = 0; i < numTiles; ++i) { tileInfos[i] = new TileInfo(); } }
public TileSet() { tileInfos = new TileInfo[0]; }