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
checkKingMoves Method
Checks to see if the King has moved to an edge.
Namespace:
VikingChess.Model
Assembly:
VikingChess (in VikingChess.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
void
checkKingMoves
(
Piece
selectedPiece
,
Square
destination
)
Parameters
selectedPiece
Type:
VikingChess.Model
Piece
The
Piece
to check with.
destination
Type:
VikingChess.Model
Square
The
Square
to check against.
See Also
Reference
Game Class
VikingChess.Model Namespace
Copyright Declan Murphy 2016
Send comments on this topic to
masterdex@live.ie