Exemple #1
0
 public Knight(colorPlayer color, int x, int y) : base(color, x, y)
 {
     this.PieceType = PiecesTypeEnum.Knight;
 }
Exemple #2
0
 public Queen(colorPlayer color, int x, int y) : base(color, x, y)
 {
     this.PieceType = PiecesTypeEnum.Queen;
 }
Exemple #3
0
 public Rook(colorPlayer color, int x, int y) : base(color, x, y)
 {
     this.PieceType = PiecesTypeEnum.Rook;
 }
Exemple #4
0
 public Bishop(colorPlayer color, int x, int y) : base(color, x, y)
 {
     PieceType = PiecesTypeEnum.Bishop;
 }
Exemple #5
0
 public Pawn(colorPlayer color, int x, int y) : base(color, x, y)
 {
     this.PieceType = PiecesTypeEnum.Pawn;
 }
Exemple #6
0
 public King(colorPlayer color, int x, int y) : base(color, x, y)
 {
     this.PieceType = PiecesTypeEnum.King;
 }