Package dev.twilite.game.facade
Class Dialog
java.lang.Object
dev.twilite.game.facade.Dialog
Utility methods for chatbox dialogue prompts and continue buttons.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Dialog
public Dialog()
-
-
Method Details
-
select
Selects the first dialogue option matching any supplied text, or advances the current dialogue if no matching option interface is open.- Parameters:
options- option text fragments to match- Returns:
trueif an option or continue button was activated
-
text
Returns the dialogue text from the active chatbox-style interface.- Returns:
- dialogue text, or an empty string when no dialogue text is present
-