|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Direction | |
darwin.domain | Contains the core domain classes for the Darwin world. |
Uses of Direction in darwin.domain |
Fields in darwin.domain declared as Direction | |
static Direction |
Direction.EAST
Direction east. |
static Direction |
Direction.NORTH
Direction north. |
static Direction |
Direction.SOUTH
Direction south. |
static Direction |
Direction.WEST
Direction west. |
Methods in darwin.domain that return Direction | |
Direction |
Direction.leftFrom()
Determine the Direction that is 90 degrees left from this Direction. |
Direction |
Direction.rightFrom()
Determine the Direction that is 90 degrees right from this Direction. |
Direction |
Creature.getDirection()
Determine the current Direction of this Creature. |
Constructors in darwin.domain with parameters of type Direction | |
MyCreature(Species aSpecies,
World aWorld,
java.awt.Point aPosition,
Direction aDirection)
Create a MyCreature of the given Species, with the indicated position and direction. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |