Viking Chess Documentation
Viking Chess Documentation
VikingChess Namespaces
VikingChess.Model
Game Class
Game Methods
capturePiece Method
checkCapture Method
checkKingCapture Method
checkKingMoves Method
checkWin Method
getBoard Method
getCurrentPlayer Method
getPlayer1 Method
getPlayer2 Method
getTurnCount Method
movePiece Method
movePieceAndGetBoard Method
PlaySound Method
setCurrentPlayer Method
setScore Method
undoMove Method
updateCurrentPlayer Method
updateTurnCount Method
Game
setCurrentPlayer Method
Sets the
currentPlayer
for this
Game
Namespace:
VikingChess.Model
Assembly:
VikingChess (in VikingChess.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
void
setCurrentPlayer
(
Player
player
)
Parameters
player
Type:
VikingChess.Model
Player
The
Player
to set as the
currentPlayer
.
See Also
Reference
Game Class
VikingChess.Model Namespace
Copyright Declan Murphy 2016
Send comments on this topic to
masterdex@live.ie