|
|||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||
other for ordering.
Direction class encapsulates the notion of a compass
direction such as North, East, South, West.Direction object facing North.
Direction object.
Direction object.
EnvDisplay interface describes the methods needed
by all EnvDisplay objects.Direction objects for equivalence.
Debug.print and Debug.println).
Locatable is an interface that guarantees that an object
knows its location and returns it when the location
method is called.Location object represents the row and column of a
location in a two-dimensional grid.Location object.
RandNumGenerator class provides a singleton
java.util.Random object for random number generation.Direction object.
SquareEnvironment is an abstract class that implements
only the navigational methods in the Environment interface.Direction object.
deg degrees
to the left of this Direction object.
Direction object.
deg degrees
to the right of this Direction object.
|
|||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||