Не пойму, что ему не нравится? Ячейки массива заполняются и setCellColor запускается
package com.javarush.games.minesweeper;
import com.javarush.engine.cell.*;
public class GameObject {
public int x;
public int y;
public Color color;
public GameObject(int x, int y){
this.x = x;
this.y = y;
}
public void setCellColor(int x, int y, Color color) {
this.x = x;
this.y = y;
this.color = color;
}
}