According to the conditions:
"you now have the getNeighbors() method, which has one GameObject (cell) parameter."
Accroding to the requirements:
The countMineNeighbors() method should use the getNeighbors(GameObject gameObject) method.
I don't see the getNeighbors method defined. Are we supposed to write / implement it ?
package com.codegym.games.minesweeper;
public class GameObject {
public int x, y;
public boolean isMine;
public int countMineNeighbors = 0;
public GameObject(int x1, int y1, boolean isMine1){
x = x1;
y = y1;
isMine = isMine1;
}
}