ChessApplication.ChessPiece.MoveTo Function
Move the Piece to another position, but only if it's a legal move.
Public bool MoveTo (ChessApplication.ChessPosition)
Type
Name
Description
ChessPosition
newPosition
The position to move to
Return
Description
bool
Returns true if the move is legal and false if not