public class Instruction
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Instruction.Action
An Action is the type of thing being performed at a coordinate:
Instruction.Departure , Instruction.Arrival , Instruction.Turn , or Instruction.TakeVortex . |
static class |
Instruction.Arrival
End when you get at this Coordinate
|
static class |
Instruction.Bearing
Types of turns to take
|
static class |
Instruction.Departure
Start out leaving from this Coordinate
|
static class |
Instruction.ExitVortex
Exit a
Vortex (ie: escalator, elevator, etc) used to go from one Map to another |
static class |
Instruction.ReferencePosition
Whether a turn should occur before, after, or right at a certain landmark
|
static class |
Instruction.TakeVortex
Use a
Vortex (ie: escalator, elevator, etc) to go from one Map to another |
static class |
Instruction.Turn
Turn when you get to this Coordinate.
|
static class |
Instruction.Walk
Walk when you get at this Coordinate
|
Modifier and Type | Field and Description |
---|---|
Instruction.Action |
action
The type of thing happening at this Node
|
Location |
atLocation
A Location to display to the user, indicating where this Instruction should occur
(since a Node can just be an arbitrary spot on the floor)
|
Coordinate |
coordinate
The coordinate this Instruction occurs at
|
java.lang.String |
instruction
Text instructions to display to the user
|
public final Coordinate coordinate
public final Instruction.Action action
public final Location atLocation
public final java.lang.String instruction