Exemplo n.º 1
0
 Piece.Rook => new Rook(isBlack ? ChessDotNet.Player.Black : ChessDotNet.Player.White),
Exemplo n.º 2
0
 Piece.Bishop => new Bishop(isBlack ? ChessDotNet.Player.Black : ChessDotNet.Player.White),
Exemplo n.º 3
0
 Piece.Knight => new Knight(isBlack ? ChessDotNet.Player.Black : ChessDotNet.Player.White),
Exemplo n.º 4
0
 Piece.Queen => new Queen(isBlack ? ChessDotNet.Player.Black : ChessDotNet.Player.White),
Exemplo n.º 5
0
 Piece.King => new King(isBlack ? ChessDotNet.Player.Black : ChessDotNet.Player.White),
Exemplo n.º 6
0
 Piece.Pawn => new Pawn(isBlack ? ChessDotNet.Player.Black : ChessDotNet.Player.White),