|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Direction | |
|---|---|
| net.mazewar | |
| Uses of Direction in net.mazewar |
|---|
| Fields in net.mazewar declared as Direction | |
|---|---|
static Direction |
Direction.East
The Eastward Cardinal Direction. |
static Direction |
Direction.North
The Northward Cardinal Direction. |
static Direction |
Direction.South
The Southward Cardinal Direction. |
static Direction |
Direction.West
The Westward Cardinal Direction. |
| Methods in net.mazewar that return Direction | |
|---|---|
Direction |
MazeImpl.getClientOrientation(Client client)
|
abstract Direction |
Maze.getClientOrientation(Client client)
Find out the cardinal direction a Client is facing. |
Direction |
Mazewar.getDir()
|
Direction |
DirectedPoint.getDirection()
Obtain the Direction of this DirectedPoint. |
Direction |
Client.getOrientation()
Find out what direction this Client is presently facing. |
Direction |
Direction.invert()
Create a new direction by rotating this one one hundred eighty degrees. |
static Direction |
Direction.random()
Create a Direction randomly. |
Direction |
Direction.turnLeft()
Create a new Direction by rotating this one
ninety degrees counter-clockwise. |
Direction |
Direction.turnRight()
Create a new Direction by rotating this one
ninety degrees clockwise. |
| Methods in net.mazewar with parameters of type Direction | |
|---|---|
abstract boolean |
Cell.isWall(Direction direction)
Does this cell have a wall in the specified direction? |
| Constructors in net.mazewar with parameters of type Direction | |
|---|---|
DirectedPoint(int x,
int y,
Direction direction)
Create a DirectedPoint from coordinates and a Direction. |
|
DirectedPoint(Point point,
Direction direction)
Create a DirectedPoint from a Point and a Direction. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||