Drag[en]gine Script Module DragonScript Script API
1.0
|
Iterator for conversation actions. More...
Public Member Functions | |
void | first () |
Set to first action. More... | |
Array | getActions () |
Actions. More... | |
ConversationAction | getNext () |
Next action and advance position or null if absent. More... | |
int | getPosition () |
Current position. More... | |
bool | hasNext () |
Next action is present. More... | |
void | last () |
Set to last action. More... | |
ConversationActionIterator | new (Array actions, int position) |
Create conversation action iterator. More... | |
void | onePastLast () |
Set to one past last action. More... | |
void | writeToFile (PersistencyEnvironment env, FileWriter writer) |
Write layer to file. More... | |
Static Public Member Functions | |
static ConversationActionIterator | readFromFile (PersistencyEnvironment env, FileReader reader) |
Read layer from file. More... | |
Iterator for conversation actions.
void first | ( | ) |
Set to first action.
Array getActions | ( | ) |
Actions.
ConversationAction getNext | ( | ) |
Next action and advance position or null if absent.
int getPosition | ( | ) |
Current position.
bool hasNext | ( | ) |
Next action is present.
void last | ( | ) |
Set to last action.
ConversationActionIterator new | ( | Array | actions, |
int | position | ||
) |
Create conversation action iterator.
void onePastLast | ( | ) |
|
static |
Read layer from file.
void writeToFile | ( | PersistencyEnvironment | env, |
FileWriter | writer | ||
) |
Write layer to file.