ChessApplication.ChessPiece.IsLegalMove Function
Determine if a move i legal.
Public bool IsLegalMove (ChessApplication.ChessPosition)
Type
Name
Description
ChessPosition
newPosition
The position to move to
Return
Description
bool
Returns true if the move is legal