public class SpeechGenerator
extends java.lang.Object
| Constructor and Description |
|---|
SpeechGenerator(java.util.List<GridNode> path)
Contructor.
|
| Modifier and Type | Method and Description |
|---|---|
GeneratedSpeech |
getSpeechForNodes(RectCoordinates currentLocation,
GridNode nextWaypoint)
Generates speech for the given nodes
|
public SpeechGenerator(java.util.List<GridNode> path)
path - Current path for the userpublic GeneratedSpeech getSpeechForNodes(RectCoordinates currentLocation, GridNode nextWaypoint)
currentLocation - Current node the user is locatednextWaypoint - Next waypoint within the path