Click or drag to resize
GamemovePieceAndGetBoard Method
Move a Piece on the board

Namespace: VikingChess.Model
Assembly: VikingChess (in VikingChess.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Board movePieceAndGetBoard(
	Square destination,
	Square origin,
	Piece selectedPiece
)

Parameters

destination
Type: VikingChess.ModelSquare
The destination Square to move the Piece to.
origin
Type: VikingChess.ModelSquare
The origin Square to move the Piece from.
selectedPiece
Type: VikingChess.ModelPiece
The selected Piece to move.

Return Value

Type: Board
board
See Also