i tried game.setScreenSize(SIDE, SIDE); //but it said i cant call a non static method from a static context
package com.codegym.games.minesweeper;
import com.codegym.engine.cell.*;
public class MinesweeperGame extends Game{
private static final int SIDE = 9;
Game game = new Game();
public void initialize(){
game.setScreenSize(SIDE,SIDE);
}
}