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
setColor Method
Sets the
color
of the
Piece
.
Namespace:
VikingChess.Model
Assembly:
VikingChess (in VikingChess.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
void
setColor
(
Enums
Color
color
)
Parameters
color
Type:
VikingChess.Model
Enums
Color
The
color
of the
Piece
. Can be either
BLACK
or
WHITE
.
See Also
Reference
Piece Class
VikingChess.Model Namespace
Copyright Declan Murphy 2016
Send comments on this topic to
masterdex@live.ie