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

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

            NewGame();
        }