|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.moyoman.debug.Debug | +--org.moyoman.debug.Forest
This debug type represents sequences of moves. A move is returned as a MoveDescriptor object, so that details such as prisoners are taken care of.
Field Summary | |
private MoveDescriptorForest |
forest
The MoveDescriptorForest object which stores the sequences of MoveDescriptor objects. |
Fields inherited from class org.moyoman.debug.Debug |
|
Constructor Summary | |
Forest(String header,
MoveDescriptorForest mdf)
Create a new Forest debug object. |
Method Summary | |
MoveDescriptor[] |
getInitialMoveDescriptors()
Get the initial move in the sequence. |
MoveDescriptor[] |
getSubsequentMoveDescriptors(MoveDescriptor parent)
Get the follow up moves to the specified move. |
DebugType |
getType()
Get the debug type of this object. |
Methods inherited from class org.moyoman.debug.Debug |
getHeaderType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private MoveDescriptorForest forest
Constructor Detail |
public Forest(String header, MoveDescriptorForest mdf)
header
- - The explanation of what this data means.mdf
- - The MoveDescriptorForest object.Method Detail |
public MoveDescriptor[] getInitialMoveDescriptors()
public MoveDescriptor[] getSubsequentMoveDescriptors(MoveDescriptor parent) throws InconsistentStateException
parent
- - The current move.
InconsistentStateException
- - Thrown if parent is not in the forest.public DebugType getType()
getType
in class Debug
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |