示例#1
0
 public Rook(bool isWhite, Func <string, Cell> getCell, string coordinates, King enemyKing) : base(isWhite, coordinates, getCell)
 {
     this.getCell     = getCell;
     this.TypeOfPiece = PieceType.Rook;
     this.EnemyKing   = enemyKing;
 }
示例#2
0
 public Bishop(bool isWhite, Func <string, Cell> getCell, string coordinates, King enemyKing) : base(isWhite, coordinates, getCell)
 {
     this.EnemyKing   = enemyKing;
     this.TypeOfPiece = PieceType.Bishop;
 }