Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.ConversationSystem.ConversationPlayerChoice Class Reference

Action for player choice window entry setting the next conversation actions to run. More...

Inheritance diagram for Dragengine.ConversationSystem.ConversationPlayerChoice:
Dragengine.Gui.Events.ActionListener

Public Member Functions

ConversationActionIterator getActionIterator ()
 Action iterator or null if not set.
ConversationPlaybackLayer getLayer ()
 Layer to go back to.
ConversationPlayback getPlayback ()
 Conversation playback.
int getValue ()
 Value to set the variable to.
String getVariable ()
 Name of variable to set with the selected option or null if not used.
ConversationPlayerChoice new (ConversationPlayback playback, ConversationPlaybackLayer layer, ConversationActionIterator actionIterator, String variable, int value)
 Create conversation player choice option.
void onAction (ActionEvent event)
 Action fired.

Public Attributes

ConversationActionIterator pActionIterator
ConversationPlaybackLayer pLayer
ConversationPlayback pPlayback
int pValue
String pVariable

Detailed Description

Action for player choice window entry setting the next conversation actions to run.

Member Function Documentation

◆ getActionIterator()

ConversationActionIterator Dragengine.ConversationSystem.ConversationPlayerChoice.getActionIterator ( )

Action iterator or null if not set.

References getValue(), and pVariable.

Referenced by onAction().

◆ getLayer()

ConversationPlaybackLayer Dragengine.ConversationSystem.ConversationPlayerChoice.getLayer ( )

Layer to go back to.

References getVariable().

Referenced by onAction().

◆ getPlayback()

ConversationPlayback Dragengine.ConversationSystem.ConversationPlayerChoice.getPlayback ( )

Conversation playback.

Referenced by onAction().

◆ getValue()

int Dragengine.ConversationSystem.ConversationPlayerChoice.getValue ( )

Value to set the variable to.

References pActionIterator, pValue, and pVariable.

Referenced by getActionIterator().

◆ getVariable()

String Dragengine.ConversationSystem.ConversationPlayerChoice.getVariable ( )

Name of variable to set with the selected option or null if not used.

References pLayer, and pPlayback.

Referenced by getLayer().

◆ new()

ConversationPlayerChoice Dragengine.ConversationSystem.ConversationPlayerChoice.new ( ConversationPlayback playback,
ConversationPlaybackLayer layer,
ConversationActionIterator actionIterator,
String variable,
int value )

Create conversation player choice option.

References new().

Referenced by new().

◆ onAction()

void Dragengine.ConversationSystem.ConversationPlayerChoice.onAction ( ActionEvent event)

Member Data Documentation

◆ pActionIterator

ConversationActionIterator Dragengine.ConversationSystem.ConversationPlayerChoice.pActionIterator

Referenced by getValue(), and onAction().

◆ pLayer

ConversationPlaybackLayer Dragengine.ConversationSystem.ConversationPlayerChoice.pLayer

Referenced by getVariable(), and onAction().

◆ pPlayback

ConversationPlayback Dragengine.ConversationSystem.ConversationPlayerChoice.pPlayback

Referenced by getVariable(), and onAction().

◆ pValue

int Dragengine.ConversationSystem.ConversationPlayerChoice.pValue

Referenced by getValue(), and onAction().

◆ pVariable

String Dragengine.ConversationSystem.ConversationPlayerChoice.pVariable

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