ChessApplication.ChessBoard.IsPositionCheckedBy Function
Determines if a position is checked.
Public bool IsPositionCheckedBy (ChessApplication.ChessPosition, ChessApplication.ChessPieceColor)
Type
Name
Description
ChessPosition
testPosition
The position to test
ChessPieceColor
color
The color/side to test for checking from
Return
Description
bool
Returns true if position is checked