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; } } }
public PieceWhiteRook(BaseGameBoard board) : base(0x3586, board) { }
public PieceBlackQueen(BaseGameBoard board) : base(0x3591, board) { }
public PieceWhiteKing(BaseGameBoard board) : base(0x3587, board) { }
public PieceWhiteQueen(BaseGameBoard board) : base(0x358A, board) { }
public PieceBlackChecker(BaseGameBoard board) : base(0x358B, board) { }
public PieceBlackKnight(BaseGameBoard board) : base(0x358F, board) { }
public PieceBlackBishop(BaseGameBoard board) : base(0x358C, board) { }
public PieceWhiteKnight(BaseGameBoard board) : base(0x3588, board) { }
public PieceWhiteBishop(BaseGameBoard board) : base(0x3585, board) { }
public PieceBlackRook(BaseGameBoard board) : base(0x358D, board) { }
public PieceWhitePawn(BaseGameBoard board) : base(0x3589, board) { }
public PieceBlackPawn(BaseGameBoard board) : base(0x3590, board) { }
public PieceBlackKing(BaseGameBoard board) : base(0x358E, board) { }
public PieceWhiteChecker( BaseGameBoard board ) : base( 0x3584, board ) { }
public BasePiece(int itemID, BaseGameBoard board) : base(itemID) { m_Board = board; }