Exemple #1
0
 protected ChessPiece(char x, int y, ChessColor color, PictureBox piece)
 {
     Position = new ChessPosition(x, y);
     Color    = color;
     Piece    = piece;
 }
Exemple #2
0
 public abstract bool checkValidMove(ChessPosition position, List <ChessPiece> white, List <ChessPiece> black, Dictionary <char, Dictionary <int, positionInfo> > piecePositions);