cmsc433.p3
Class Choice

java.lang.Object
  extended by cmsc433.p3.Choice

public class Choice
extends java.lang.Object

Represents a choice point in the maze. Also used to represent a dead-end (which is an empty set of choices).


Field Summary
 Position at
          The position of the choice point.
 java.util.Deque<Direction> choices
          The choices available for the next move (available moves minus from).
 Direction from
          The direction we came from to arrive at this choice point.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

at

public final Position at
The position of the choice point.


from

public final Direction from
The direction we came from to arrive at this choice point.


choices

public final java.util.Deque<Direction> choices
The choices available for the next move (available moves minus from).