|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcmsc433.p3.Choice
public class Choice
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 |
|---|
public final Position at
public final Direction from
public final java.util.Deque<Direction> choices
from).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||