|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Orientation | |
|---|---|
| com.epochx.ant | |
| Uses of Orientation in com.epochx.ant |
|---|
| Methods in com.epochx.ant that return Orientation | |
|---|---|
Orientation |
Ant.getOrientation()
Returns the direction the Ant is currently facing and travelling. |
static Orientation |
Orientation.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Orientation[] |
Orientation.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods in com.epochx.ant with parameters of type Orientation | |
|---|---|
java.awt.Point |
AntLandscape.getNextLocation(java.awt.Point location,
Orientation orientation)
Returns the location of one move on from the given location in the direction of the provided orientation. |
void |
Ant.setOrientation(Orientation orientation)
Sets the orientation the Ant is to facing. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||