Board Methods |
The Board type exposes the following members.
Name | Description | |
---|---|---|
countPieces | ||
decrementBlackCount |
Decrements the blackPieces on this board.
| |
decrementWhiteCount |
Decrements the whitePieces on this board.
| |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetBoard |
Returns the array containing the board data.
| |
getCurrentPlayer | ||
getGameType | ||
GetHashCode | (Inherited from Object.) | |
GetPosition |
Returns the index position in the board array corresponding to the passed in rankfile location.
| |
GetSize |
Returns the size of the board array.
| |
GetSquare |
Returns the Square at the specified location
| |
GetType | (Inherited from Object.) | |
InitializeBoard |
Creates new Square objects at the appropriate location in the board array and defines the neighbours
for each square.
| |
MemberwiseClone | (Inherited from Object.) | |
PrintBoard |
Prints a representation of the board | |
setArdRiPieces |
Sets the starting position for the Ard Rí pieces.
| |
setBrandubhPieces |
Sets the starting position for the Brandubh pieces.
| |
setCurrentPlayer | ||
setHnefataflPieces |
Sets the starting position for the Hnefatafl pieces.
| |
SetNeighbours | ||
SetPieces | ||
SetSpecialSquares | ||
SetSquare | ||
setTablutPieces |
Sets the starting position for the Tablut pieces.
| |
setTawlbwrddPieces |
Sets the starting position for the Tawlbwrdd pieces.
| |
ToString | (Overrides ObjectToString.) |