Click or drag to resize
Square Constructor (EnumsRank, EnumsFile, Piece, EnumsSquareType)
Main Constructor

Namespace: VikingChess.Model
Assembly: VikingChess (in VikingChess.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Square(
	EnumsRank rank,
	EnumsFile file,
	Piece piece,
	EnumsSquareType type
)

Parameters

rank
Type: VikingChess.ModelEnumsRank
The rank of this Square on the Board.
file
Type: VikingChess.ModelEnumsFile
The file of this Square on the Board.
piece
Type: VikingChess.ModelPiece
The Piece (if any) occupying this Square.
type
Type: VikingChess.ModelEnumsSquareType
The type of this Square.
See Also