Click or drag to resize
PlayercaptureKing Method

Namespace: VikingChess.Model
Assembly: VikingChess (in VikingChess.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Tuple<Square, Piece, Square> captureKing(
	Board board,
	List<Square> squareList
)

Parameters

board
Type: VikingChess.ModelBoard
The Board to use.
squareList
Type: System.Collections.GenericListSquare
A ListT containing all Square objects that have Piece objects on them.

Return Value

Type: TupleSquare, Piece, Square
A TupleT1, T2, T3 containing an origin Square, destination Square and Piece
See Also