public interface EscapeState
Modifier and Type | Method and Description |
---|---|
Node |
currentNode()
Return the Node corresponding to Tennessee's location in the graph.
|
Node |
getExit()
Return the Node associated with the exit from the cavern.
|
java.util.Collection<Node> |
getNodes()
Return a collection containing all the nodes in the graph.
|
void |
grabGold()
Pick up the gold on the current tile.
|
void |
moveTo(Node n)
Change Tennessee's location to n.
|
int |
stepsLeft()
Return the steps remaining to get out of the cavern.
|
Node currentNode()
Node getExit()
java.util.Collection<Node> getNodes()
void moveTo(Node n)
void grabGold()
int stepsLeft()