Class: DialogueMultiple

DialogueMultiple(center, w, h, actions, title, style, tag) → {DialogueMultiple}

new DialogueMultiple(center, w, h, actions, title, style, tag) → {DialogueMultiple}

Constructor for dialogue options
Parameters:
Name Type Description
center 2DArray
w int
h int
actions StringArray
title type
style type
tag type
Source:
Returns:
Type
DialogueMultiple

Methods

dismiss() → {void}

Hides the dialogue options.
Source:
Returns:
Type
void

draw(camera) → {void}

Draws every option.
Parameters:
Name Type Description
camera CameraObject
Source:
Returns:
Type
void

getSelectedOption() → {int}

Returns the selected option as a int value.
Source:
Returns:
Type
int

numOptions() → {int}

Returns the number of options.
Source:
Returns:
Type
int

selectOption(index) → {void}

Selects the current option given the option index.
Parameters:
Name Type Description
index int
Source:
Returns:
Type
void