|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Direction | |
|---|---|
| alice.kareltherobot | |
| Uses of Direction in alice.kareltherobot |
|---|
| Fields in alice.kareltherobot declared as Direction | |
|---|---|
static Direction |
Direction.EAST
The east direction in the robot world |
static Direction |
Direction.NORTH
The north direction in the robot world (along the x axis of Alice). |
static Direction |
Direction.SOUTH
The south direction in the robot world. |
static Direction |
Direction.WEST
The west direction in the robot world (along the z axis of Alice) |
| Constructors in alice.kareltherobot with parameters of type Direction | |
|---|---|
RemoteControl(int street,
int avenue,
Direction direction)
Create a remote controller and a grey robot with infinitely many beepers |
|
RemoteControl(int street,
int avenue,
Direction direction,
int beepers)
Create a remote controller and its robot with the robot having the given initial state. |
|
RemoteControl(int street,
int avenue,
Direction direction,
int beepers,
org.alice.apis.moveandturn.Color color)
Create a remote controller and its robot with the robot having the given initial state. |
|
Robot(int street,
int avenue,
Direction direction)
Create a robot on a specific street and avenue, facing a given direction with no beepers. |
|
Robot(int street,
int avenue,
Direction direction,
int beepers)
Create a robot on a specific street and avenue, facing a given direction with a given number of beepers. |
|
Robot(int street,
int avenue,
Direction direction,
int beepers,
Color color)
Create a robot on a specific street and avenue, facing a given direction with a given number of beepers and a given head color. |
|
UrRobot(int street,
int avenue,
Direction direction)
Constructs a robot at a given corner facing a given direction, with no beepers. |
|
UrRobot(int street,
int avenue,
Direction direction,
int beepers)
Create a robot on a specific street and avenue, facing a given direction with a given number of beepers. |
|
UrRobot(int street,
int avenue,
Direction direction,
int beepers,
Color color)
Create a robot on a specific street and avenue, facing a given direction with a given number of beepers and a given head color. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||