|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use OffGameBoardException | |
|---|---|
| rushhour | |
| Uses of OffGameBoardException in rushhour |
|---|
| Methods in rushhour that throw OffGameBoardException | |
|---|---|
RushHourVehicle |
RushHourGameBoard.addCar(java.lang.String color,
java.lang.String orientation,
int x,
int y)
Add a car to the game gameBoard at location (x, y). |
RushHourVehicle |
RushHourGameBoard.addTruck(java.lang.String color,
java.lang.String orientation,
int x,
int y)
Add a truck to the game gameBoard at location (x, y). |
RushHourVehicle |
RushHourGameBoard.addVehicle(java.lang.String type,
java.lang.String color,
java.lang.String orientation,
int x,
int y)
Add a vehicle to the game gameBoard at location (x, y). |
RushHourVehicle |
RushHourGameBoard.getVehicleAtLocation(int x,
int y)
Check for a vehicle at location (x, y) on the game gameBoard. |
void |
RushHourVehicle.setVehicleX(int x)
Set the new vehicleX-coordinate of the vehicle. |
void |
RushHourVehicle.setVehicleY(int y)
Set the new y-coordinate of the vehicle. |
| Constructors in rushhour that throw OffGameBoardException | |
|---|---|
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 | |||||||||