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
setType Method
Sets the
type
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
setType
(
Enums
PieceType
type
)
Parameters
type
Type:
VikingChess.Model
Enums
PieceType
The
type
of the
Piece
. Can be either
PAWN
or
KING
.
See Also
Reference
Piece Class
VikingChess.Model Namespace
Copyright Declan Murphy 2016
Send comments on this topic to
masterdex@live.ie