Click or drag to resize
BoardGetPosition Method
Returns the index position in the board array corresponding to the passed in rankfile location.

Namespace: VikingChess.Model
Assembly: VikingChess (in VikingChess.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Tuple<int, int> GetPosition(
	Tuple<EnumsRank, EnumsFile> location
)

Parameters

location
Type: SystemTupleEnumsRank, EnumsFile
A Tuple containing the EnumsRank and EnumsFile of a square on the board.

Return Value

Type: TupleInt32, Int32
A Tuple containing the index location of a position on the board.
See Also