|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BoardState | |
bluegammon.logic | The bluegammon.logic package contains logic aspects of the backgammon game. |
Uses of BoardState in bluegammon.logic |
Methods in bluegammon.logic that return BoardState | |
static BoardState |
BoardState.getInstance()
|
Methods in bluegammon.logic with parameters of type BoardState | |
static boolean |
Rules.isValidFromGuard(BoardState state,
int to,
int[] player,
int[] opponent)
Returns if a move is valid from guardposition to specified position. |
static boolean |
Rules.isValidMove(BoardState state,
int from,
int to,
boolean white,
int[] player,
int[] opponent)
Returns if a move is valid from specified position to specified position. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |