Добрый день. Пожалуйста, объясните что такое 3 пункт и 5 пункт или подскажите!!! Только НЕ РЕШЕНИЕ!!!
Я не понимаю надо в getNeighbors что то менять ??
private List<GameObject> getNeighbors(GameObject gameObject) {
Или надо в private void createGame()
Или еще что???
Заранее спасибо.
package com.javarush.games.minesweeper;
import com.javarush.engine.cell.Game;
public class GameObject {
public int x;
public int y;
public boolean isMine;
public int countMineNeighbors;
public GameObject(int x,int y,boolean mine) {//int countMine)
this.x=x;
this.y=y;
this.isMine=mine;
//this.countMineNeighbors=countMine;
;
}
}