Package worldBuilder
Class Journey.NextSteps
- java.lang.Object
-
- worldBuilder.Journey.NextSteps
-
- Enclosing class:
- Journey
public class Journey.NextSteps extends java.lang.Objectthis is a (lowest) cost-ordered queue of possible next steps in our outward journeys. Processing steps in this order enables us to find the lowest cost routes and crossings.
-
-
Constructor Summary
Constructors Constructor Description NextSteps()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Journey step)add another possible step to the queue of optionsJourneynext()
-