|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use RushHourGameBoard | |
|---|---|
| gui | |
| rushhour | |
| Uses of RushHourGameBoard in gui |
|---|
| Fields in gui declared as RushHourGameBoard | |
|---|---|
protected RushHourGameBoard |
RushHourPanel.gameBoard
The object that represents the game board. |
protected RushHourGameBoard |
RushHourPanel.lastUnsolved
The object that can be reverted to that represents the unsolved board state at the last press of the Solve button. |
protected RushHourGameBoard |
RushHourPanel.startUnsolved
The object that can be reverted to that represents the unsolved board state at the start of the game. |
| Methods in gui with parameters of type RushHourGameBoard | |
|---|---|
static void |
RushHourDomain.loadGame(java.lang.Object file,
RushHourGameBoard gameBoard)
Loads a saved game from the given input file. |
static void |
RushHourDomain.saveGame(java.io.File file,
RushHourGameBoard gameBoard)
Saves the current game board to the specified file. |
| Uses of RushHourGameBoard in rushhour |
|---|
| Methods in rushhour that return RushHourGameBoard | |
|---|---|
RushHourGameBoard |
RushHourGameBoard.getBoardFromHash(java.lang.String hash)
Constructs a game gameBoard object tempBoard of a given hash state. |
| Methods in rushhour with parameters of type RushHourGameBoard | |
|---|---|
boolean |
RushHourGameBoard.boardEqual(RushHourGameBoard otherBoard)
Checks the current game board against a passed in game board, comparing the states of each car. |
void |
RushHourGameBoard.setBoardObject(RushHourGameBoard newGameBoard)
Resets the game board and starts it at the state given by the passed in game board. |
| Constructors in rushhour with parameters of type RushHourGameBoard | |
|---|---|
RushHourVehicle(RushHourGameBoard gameBoard,
int uniqueID,
java.lang.String type,
java.lang.String color,
java.lang.String orientation,
int x,
int y)
Construct a vehicle that can be placed on the game board. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||