- getPlayer() - Method in class HexState
-
Return the current player constant PLAYER1 or PLAYER2.
- getPosition(int, int) - Method in class HexState
-
Return the contents of a board row and column (upper-left diagonal) position using integer constants PLAYER1/PLAYER2/NONE.
- getPosition(String) - Method in class HexState
-
Return the contents of a board row and column (upper-left diagonal) position using integer constants PLAYER1/PLAYER2/NONE.
- getSize() - Method in class HexState
-
Return the number of rows and columns (i.e.
- getWinner() - Method in class HexState
-
Return the winner PLAYER1/PLAYER2 if there is a winner, or NONE is there is no winner.