A B C D E G I L M N O P R S T U V W

S

saveGame(File, RushHourGameBoard) - Static method in class gui.RushHourDomain
Saves the current game board to the specified file.
saveMenuItem - Variable in class gui.RushHourFrame
 
setBoardFromHash(String) - Method in class rushhour.RushHourGameBoard
Sets the current game board (represented as an array of vehicles) to the game board represented from the passed in hash state.
setBoardHeight(int) - Method in class rushhour.RushHourGameBoard
Set the gameBoard boardHeight.
setBoardObject(RushHourGameBoard) - Method in class rushhour.RushHourGameBoard
Resets the game board and starts it at the state given by the passed in game board.
setBoardWidth(int) - Method in class rushhour.RushHourGameBoard
Set the gameBoard boardWidth.
setComposite(float) - Method in class rushhour.RushHourVehicle
Set the alpha (composite) of the vehicle.
setGameBoard(RushHourVehicle[][]) - Method in class rushhour.RushHourGameBoard
Set the game board to the passed in game board.
setUniqueID(int) - Method in class rushhour.RushHourVehicle
Set the unique ID of the vehicle to a new unique ID.
setVehicleX(int) - Method in class rushhour.RushHourVehicle
Set the new vehicleX-coordinate of the vehicle.
setVehicleY(int) - Method in class rushhour.RushHourVehicle
Set the new y-coordinate of the vehicle.
simplifyPoint(Point, int, int, int, int) - Static method in class gui.RushHourDomain
Simplifies the three-digit (x, y) coordinate retrieved from a location on the GUI to a single-digit (x, y) coordinate that corresponds to coordinates within the game board object.
solve() - Method in class rushhour.RushHourGameBoard
Solve the game gameBoard in the least number of moves possible using a hash map.
solveButton - Variable in class gui.RushHourPanel
 
solveFast() - Method in class rushhour.RushHourGameBoard
Solves the game board through string parsing of the hash representation of each board state instead of creating a new game board object at each individual state (since the overhead cost of that is great).
start() - Method in class gui.RushHourApplet
Adds the Rush Hour game panel to the applet and sets it visible.
startUnsolved - Variable in class gui.RushHourPanel
The object that can be reverted to that represents the unsolved board state at the start of the game.
statusTextField - Variable in class gui.RushHourPanel
 
stop() - Method in class gui.RushHourApplet
Unused by the Rush Hour applet.

A B C D E G I L M N O P R S T U V W