Example #1
0
		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );

			int version = reader.ReadInt();

			switch ( version )
			{
				case 0:
				{
                    m_Board = (BaseGameBoard)reader.ReadItem();

					if ( m_Board == null || Parent == null )
						Delete();

					break;
				}
			}
		}
Example #2
0
 public PieceWhiteRook(BaseGameBoard board)
     : base(0x3586, board)
 {
 }
Example #3
0
        public PieceBlackQueen(BaseGameBoard board)
            : base(0x3591, board)
		{
		}
Example #4
0
        public PieceWhiteKing(BaseGameBoard board)
            : base(0x3587, board)
		{
		}
Example #5
0
        public PieceWhiteQueen(BaseGameBoard board)
            : base(0x358A, board)
		{
		}
        public PieceBlackChecker(BaseGameBoard board)
            : base(0x358B, board)
		{
		}
Example #7
0
        public PieceBlackKnight(BaseGameBoard board)
            : base(0x358F, board)
		{
		}
Example #8
0
 public PieceBlackBishop(BaseGameBoard board)
     : base(0x358C, board)
 {
 }
Example #9
0
        public PieceBlackBishop(BaseGameBoard board)
            : base(0x358C, board)
		{
		}
Example #10
0
        public PieceWhiteKnight(BaseGameBoard board)
            : base(0x3588, board)
		{
		}
Example #11
0
        public PieceWhiteBishop(BaseGameBoard board)
            : base(0x3585, board)
		{
		}
Example #12
0
        public PieceBlackRook(BaseGameBoard board)
            : base(0x358D, board)
		{
		}
Example #13
0
        public PieceWhiteRook(BaseGameBoard board)
            : base(0x3586, board)
		{
		}
Example #14
0
 public PieceBlackRook(BaseGameBoard board)
     : base(0x358D, board)
 {
 }
Example #15
0
        public PieceWhitePawn(BaseGameBoard board)
            : base(0x3589, board)
		{
		}
Example #16
0
 public PieceWhiteBishop(BaseGameBoard board)
     : base(0x3585, board)
 {
 }
Example #17
0
        public PieceBlackPawn(BaseGameBoard board)
            : base(0x3590, board)
		{
		}
Example #18
0
 public PieceWhiteKnight(BaseGameBoard board)
     : base(0x3588, board)
 {
 }
Example #19
0
        public PieceBlackKing(BaseGameBoard board)
            : base(0x358E, board)
		{
		}
Example #20
0
		public PieceWhiteChecker( BaseGameBoard board ) : base( 0x3584, board )
		{
		}
Example #21
0
        public BasePiece(int itemID, BaseGameBoard board)
            : base(itemID)
		{
			m_Board = board;
		}