Click or drag to resize
SquaresetNeighbours Method
Sets the neighbour squares of the Square

Namespace: VikingChess.Model
Assembly: VikingChess (in VikingChess.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void setNeighbours(
	Square leftSquare,
	Square rightSquare,
	Square topSquare,
	Square bottomSquare
)

Parameters

leftSquare
Type: VikingChess.ModelSquare
The left neighbour Square
rightSquare
Type: VikingChess.ModelSquare
The right neighbour Square
topSquare
Type: VikingChess.ModelSquare
The top neighbour Square
bottomSquare
Type: VikingChess.ModelSquare
The bottom neighbour Square
See Also