public static class Choice.ChoiceBuilder
extends java.lang.Object
Constructor and Description |
---|
ChoiceBuilder() |
Modifier and Type | Method and Description |
---|---|
Choice |
build() |
Choice |
build(int choiceID) |
Choice.ChoiceBuilder |
setHandle(java.util.function.Consumer<DialogueChoiceEvent> handle) |
Choice.ChoiceBuilder |
setText(java.lang.String text) |
public Choice.ChoiceBuilder setText(java.lang.String text)
public Choice.ChoiceBuilder setHandle(java.util.function.Consumer<DialogueChoiceEvent> handle)
public Choice build()
public Choice build(int choiceID)