DialogueNode
A class that represents a dialogue tree node structure for conversational paths.
ClassRLPlugins API
public class DialogueNodeThese helpers wait. Call them only from VitaPlugin.loop(); on the game thread, for example in a @Subscribe method, they freeze the game.
Members
Methods
- DialogueNodeget()
Creates a new instance of a DialogueNode.
- DialogueNodeget(Object[])
Creates a new instance of a DialogueNode with the given options.
- DialogueNodenode(Object...)
Adds a new node to the dialogue tree.
- voidprocess()
Processes the dialogue tree.
- StringtoString()
A text form, for log lines.
get()static
public static DialogueNode get()Creates a new instance of a DialogueNode.
Returns
A new instance of a DialogueNode.
get(Object[])static
public static DialogueNode get(Object[] options)Creates a new instance of a DialogueNode with the given options.
Parameters
options- The options to add to the DialogueNode.
Returns
A new instance of a DialogueNode with the given options.
node(Object...)
public DialogueNode node(Object... options)Adds a new node to the dialogue tree.
Parameters
options- The options to add to the dialogue tree.
Returns
The current instance of the DialogueNode.
process()
public void process()Processes the dialogue tree.
toString()
public String toString()A text form, for log lines.
Also allowed
Every class has these, as in plain Java.
equals