예제 #1
0
        public GammonInterface( bool nackgammon, bool maxFivePiecesOnPoint )
        {
            m_Board = new BgBoard( nackgammon );
            m_BgDiceCup = new BgDiceCup();
            m_Moves = new int[4];
            m_Cube = new Cube();
            m_UndoStack = new UndoStack();
            m_History = new GameHistory();

            NewGame( nackgammon, maxFivePiecesOnPoint );
        }
예제 #2
0
        public GammonInterface(bool nackgammon, bool maxFivePiecesOnPoint)
        {
            m_Board     = new BgBoard(nackgammon);
            m_BgDiceCup = new BgDiceCup();
            m_Moves     = new int[4];
            m_Cube      = new Cube();
            m_UndoStack = new UndoStack();
            m_History   = new GameHistory();

            NewGame(nackgammon, maxFivePiecesOnPoint);
        }