Drag[en]gine Script Module DragonScript Script API  1.0
ConversationActionIterator Class Reference

Iterator for conversation actions. More...

Inheritance diagram for ConversationActionIterator:

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...

Detailed Description

Iterator for conversation actions.

Member Function Documentation

§ first()

void first ( )

Set to first action.

§ getActions()

Array getActions ( )


§ getNext()

ConversationAction getNext ( )

Next action and advance position or null if absent.

§ getPosition()

int getPosition ( )

Current position.

§ hasNext()

bool hasNext ( )

Next action is present.

§ last()

void last ( )

Set to last action.

§ new()

ConversationActionIterator new ( Array  actions,
int  position 

Create conversation action iterator.

§ onePastLast()

void onePastLast ( )

Set to one past last action.

hasNext() returns false and getNext() returns null.

The documentation for this class was generated from the following file: