Viking Chess Documentation
Viking Chess Documentation
VikingChess Namespaces
VikingChess.Model
Board Class
Board Methods
countPieces Method
decrementBlackCount Method
decrementWhiteCount Method
GetBoard Method
getCurrentPlayer Method
getGameType Method
GetPosition Method
GetSize Method
GetSquare Method
InitializeBoard Method
PrintBoard Method
setArdRiPieces Method
setBrandubhPieces Method
setCurrentPlayer Method
setHnefataflPieces Method
SetNeighbours Method
SetPieces Method
SetSpecialSquares Method
SetSquare Method
setTablutPieces Method
setTawlbwrddPieces Method
ToString Method
Board
countPieces Method
Gets the total
Piece
count of a particular
Enums
Color
on this
Board
Namespace:
VikingChess.Model
Assembly:
VikingChess (in VikingChess.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
int
countPieces
(
Enums
Color
color
)
Parameters
color
Type:
VikingChess.Model
Enums
Color
The
Enums
Color
to count for.
Return Value
Type:
Int32
The
Piece
count of the passed in
Enums
Color
for this
Board
.
See Also
Reference
Board Class
VikingChess.Model Namespace
Copyright Declan Murphy 2016
Send comments on this topic to
masterdex@live.ie