if anybody also has a tip for better way of counting mines around field feel free to share
package com.codegym.games.minesweeper;
public class GameObject extends MinesweeperGame {
public int x, y;
public boolean isMine;
public int countMineNeighbors;
public GameObject(int x, int y, boolean isMine) {
this.x = x;
this.y = y;
this.isMine = isMine;
}
}