public static GameLogic GetInstance() { if (gl == null) { gl = new GameLogic(); } return gl; }
public GameGrid() { InitializeComponent(); gl = GameLogic.GetInstance(); GameGridCells = new GameCell[gl.SIZE, gl.SIZE]; NewGame(); }