Does anyone see the error in my code. When I run this in IntelliJ it compiles and runs as it should. Thanks in advance :)
package com.codegym.games.minesweeper;
public class GameObject {
public int x, y;
public boolean isMine;
public int countMineNeighbors;
public boolean isOpen;
public GameObject(int a, int b, boolean m){
x = a;
y = b;
isMine = m;
}
}