public interface EscapeState
Modifier and Type | Method and Description |
---|---|
Node |
getCurrentNode()
Return your current location in the graph.
|
Node |
getExit()
Return the exit from the cavern.
|
int |
getTimeRemaining()
Return the time remaining to escape from the cavern.
|
java.util.Collection<Node> |
getVertices()
Return all the nodes in the graph, in no particular order.
|
void |
moveTo(Node n)
Change your current location n.
|
void |
pickUpGold()
Picks up any gold on the current tile.
|
Node getCurrentNode()
Node getExit()
java.util.Collection<Node> getVertices()
void moveTo(Node n)
void pickUpGold()
int getTimeRemaining()