protected class VisualExplorer.SaveEpisodeAction extends java.lang.Object implements SpecialExplorerAction
VisualExplorer
that handles it as ending episode recoding and saving all recorded episodes to disk.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
directory
The directory in which the episodes will be recorded.
|
protected StateParser |
sp
The State parser used to save episodes
|
Constructor and Description |
---|
VisualExplorer.SaveEpisodeAction(java.lang.String directory,
StateParser sp)
Initializes
|
Modifier and Type | Method and Description |
---|---|
State |
applySpecialAction(State curState) |
protected java.lang.String directory
protected StateParser sp
public VisualExplorer.SaveEpisodeAction(java.lang.String directory, StateParser sp)
directory
- the directory path in which episodes will be recordedsp
- the state parser to use.public State applySpecialAction(State curState)
applySpecialAction
in interface SpecialExplorerAction