Пример #1
0
        public BgBoard( bool nackgammon )
        {
            m_DarkOffBoardSquare = new BgSquare();
            m_LightOffBoardSquare = new BgSquare();

            m_Squares = new BgSquare[26];
            for ( int i = 0; i < m_Squares.Length; i++ )
                m_Squares[i] = new BgSquare();

            SetStartLayout( nackgammon );
        }
Пример #2
0
        public BgBoard(bool nackgammon)
        {
            m_DarkOffBoardSquare  = new BgSquare();
            m_LightOffBoardSquare = new BgSquare();

            m_Squares = new BgSquare[26];
            for (int i = 0; i < m_Squares.Length; i++)
            {
                m_Squares[i] = new BgSquare();
            }

            SetStartLayout(nackgammon);
        }