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 ); }
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); }