Пример #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);
        }