Поля вроде заполняются а валидацию не проходит. Где я ошибся?
package com.javarush.games.minesweeper;
import com.javarush.engine.cell.*;
public class MinesweeperGame extends Game {
private static final int SIDE = 9;
private GameObject[][] gameField = new GameObject[SIDE][SIDE];
private void createGame() {
for (int y = 0; y < 9; y++) {
for (int x = 0; x < 9; x++) {
gameField[x][y] = new GameObject(x, y);
setCellColor(x, y, Color.ORANGE);
}
}
}
public void initialize() {
setScreenSize (SIDE, SIDE);
createGame();
}
}