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