Example #1
0
 public static GameLogic GetInstance()
 {
     if (gl == null)
     {
         gl = new GameLogic();
     }
     return gl;
 }
Example #2
0
        public GameGrid()
        {
            InitializeComponent();

            gl = GameLogic.GetInstance();
            GameGridCells = new GameCell[gl.SIZE, gl.SIZE];

            NewGame();
        }