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
undoMove Method
Undo the last move
Namespace:
VikingChess.Model
Assembly:
VikingChess (in VikingChess.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
Board
undoMove
()
Return Value
Type:
Board
The previous
Board
obtained from the
stateHistory
See Also
Reference
Game Class
VikingChess.Model Namespace
Copyright Declan Murphy 2016
Send comments on this topic to
masterdex@live.ie