Viking Chess Documentation
Viking Chess Documentation
VikingChess Namespaces
VikingChess.Model
Piece Class
Piece Methods
canMoveTo Method
generateLegalMoves Method
getColor Method
getFile Method
getLocation Method
getRank Method
getType Method
setColor Method
setFile Method
setLocation Method
setRank Method
setType Method
ToString Method
Piece
canMoveTo Method
Returns true or false if the
Piece
can move to the
Square
Namespace:
VikingChess.Model
Assembly:
VikingChess (in VikingChess.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
bool
canMoveTo
(
Square
square
)
Parameters
square
Type:
VikingChess.Model
Square
The
Square
to check against
Return Value
Type:
Boolean
true/false
See Also
Reference
Piece Class
VikingChess.Model Namespace
Copyright Declan Murphy 2016
Send comments on this topic to
masterdex@live.ie