Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
I
L
M
N
O
P
R
S
T
U
V
W
I
IllegalBoardMoveException
- Exception in
exceptions
Chiefly concerned with board moves being legal (not landing on another car, not jumping over cars, etc.).
IllegalBoardMoveException(String)
- Constructor for exception exceptions.
IllegalBoardMoveException
The vehicle cannot move in the specified direction or the specified number of spaces on the board.
init()
- Method in class gui.
RushHourApplet
Construct the applet prior actually starting it.
initGameBoard()
- Method in class rushhour.
RushHourGameBoard
Resets the game board to an empty state.
InvalidFirstVehicleException
- Exception in
exceptions
Chiefly concerned with the red car being the first vehicle added to the board.
InvalidFirstVehicleException()
- Constructor for exception exceptions.
InvalidFirstVehicleException
The first vehicle must be the red car.
InvalidVehicleColorException
- Exception in
exceptions
Chiefly concerned with vehicle color (two vehicles cannot have the same color).
InvalidVehicleColorException()
- Constructor for exception exceptions.
InvalidVehicleColorException
Only one vehicle of each color may be added to the game board.
InvalidVehicleException
- Exception in
exceptions
Cheifly concerned with invalid vehicles (must be of type "car" or "truck").
InvalidVehicleException()
- Constructor for exception exceptions.
InvalidVehicleException
The vehicle must be of type "car" or "truck."
isReset
- Variable in class gui.
RushHourApplet
True if the board has just been reset.
isReset
- Variable in class gui.
RushHourFrame
True if the board has just been reset.
isSolved()
- Method in class rushhour.
RushHourGameBoard
Check to see if the red car is in a position that implies the game gameBoard is solved.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
I
L
M
N
O
P
R
S
T
U
V
W