I've tried it in and out of the loops, I've tried it after the method, as the end of the method. Ive even tried it with the variables being local. None of that has worked. please help.
package com.codegym.games.minesweeper;
public class GameObject {
public int x;
public int y;
public boolean isMine;
public GameObject(int x, int y, boolean isMine) {
this.x=x;
this.y=y;
this.isMine=isMine;
}
}