|
| OptionDialogue (String option1, Runnable action1, String option2, Runnable action2) |
| OptionDialogue (String option1, Runnable action1, String option2, Runnable action2, String option3, Runnable action3) |
| OptionDialogue (String option1, Runnable action1, String option2, Runnable action2, String option3, Runnable action3, String option4, Runnable action4) |
| OptionDialogue (String option1, Runnable action1, String option2, Runnable action2, String option3, Runnable action3, String option4, Runnable action4, String option5, Runnable action5) |
String[] | getLines () |
List< Runnable > | getActions () |
The Chainable
implementation that represents a dialogue in which options are given to the player.
- Author
- Michael | Chex
Definition at line 39 of file OptionDialogue.java.
◆ OptionDialogue() [1/4]
com.osroyale.content.dialogue.OptionDialogue.OptionDialogue |
( |
String | option1, |
|
|
Runnable | action1, |
|
|
String | option2, |
|
|
Runnable | action2 ) |
|
inline |
Creates a new OptionDialogue
.
- Parameters
-
option1 | The text for the first option. |
action1 | The action for the first action. |
option2 | The text for the second option. |
action2 | The action for the second action. |
Definition at line 55 of file OptionDialogue.java.
◆ OptionDialogue() [2/4]
com.osroyale.content.dialogue.OptionDialogue.OptionDialogue |
( |
String | option1, |
|
|
Runnable | action1, |
|
|
String | option2, |
|
|
Runnable | action2, |
|
|
String | option3, |
|
|
Runnable | action3 ) |
|
inline |
Creates a new OptionDialogue
.
- Parameters
-
option1 | The text for the first option. |
action1 | The action for the first action. |
option2 | The text for the second option. |
action2 | The action for the second action. |
option3 | The text for the third option. |
action3 | The action for the third action. |
Definition at line 71 of file OptionDialogue.java.
◆ OptionDialogue() [3/4]
com.osroyale.content.dialogue.OptionDialogue.OptionDialogue |
( |
String | option1, |
|
|
Runnable | action1, |
|
|
String | option2, |
|
|
Runnable | action2, |
|
|
String | option3, |
|
|
Runnable | action3, |
|
|
String | option4, |
|
|
Runnable | action4 ) |
|
inline |
Creates a new OptionDialogue
.
- Parameters
-
option1 | The text for the first option. |
action1 | The action for the first action. |
option2 | The text for the second option. |
action2 | The action for the second action. |
option3 | The text for the third option. |
action3 | The action for the third action. |
option4 | The text for the four option. |
action4 | The action for the four action. |
Definition at line 90 of file OptionDialogue.java.
◆ OptionDialogue() [4/4]
com.osroyale.content.dialogue.OptionDialogue.OptionDialogue |
( |
String | option1, |
|
|
Runnable | action1, |
|
|
String | option2, |
|
|
Runnable | action2, |
|
|
String | option3, |
|
|
Runnable | action3, |
|
|
String | option4, |
|
|
Runnable | action4, |
|
|
String | option5, |
|
|
Runnable | action5 ) |
|
inline |
Creates a new OptionDialogue
.
- Parameters
-
option1 | The text for the first option. |
action1 | The action for the first action. |
option2 | The text for the second option. |
action2 | The action for the second action. |
option3 | The text for the third option. |
action3 | The action for the third action. |
option4 | The text for the four option. |
action4 | The action for the four action. |
option5 | The text for the fifth option. |
action5 | The action for the fifth action. |
Definition at line 112 of file OptionDialogue.java.
◆ getActions()
List< Runnable > com.osroyale.content.dialogue.OptionDialogue.getActions |
( |
| ) |
|
|
inline |
Gets the list of actions for this dialogue.
- Returns
- The list of actions.
Definition at line 140 of file OptionDialogue.java.
◆ getLines()
String[] com.osroyale.content.dialogue.OptionDialogue.getLines |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: