public class GeneratedSpeech
extends java.lang.Object
| Constructor and Description |
|---|
GeneratedSpeech(double distance,
NodeEvent event,
NodeDirection direction)
Contructor.
|
| Modifier and Type | Method and Description |
|---|---|
NodeDirection |
getDirection()
Getter for the direction field
|
double |
getDistance()
Getter for the distance field
|
NodeEvent |
getEvent()
Getter for the event field
|
java.lang.String |
toActionString()
Converts the generated speech to its action string
|
java.lang.String |
toString() |
public GeneratedSpeech(double distance,
NodeEvent event,
NodeDirection direction)
distance - Distance until the next eventevent - Type of the next eventdirection - Direction of the next eventpublic double getDistance()
public NodeEvent getEvent()
public NodeDirection getDirection()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toActionString()