Click or drag to resize
GamemovePiece 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 void movePiece(
	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.
See Also