Represents a factory class that contains important functions for building dialogues.
final DialogueFactory execute()
Retrieves the next dialogue in the chain and executes it.
Player getPlayer()
The player that owns this factory.
final DialogueFactory sendNpcChat(int id, String... lines)
Appends an NpcDialogue to the current dialogue chain.
final DialogueFactory sendOption(String option1, Runnable action1, String option2, Runnable action2)
Appends the OptionDialogue onto the current dialogue chain.
Represents an abstract dialogue, in which extending classes will be able to construct and send dialog...
Handles the prestige dialogue.
void explainPerks(DialogueFactory factory)
void sendDialogues(DialogueFactory factory)
Sends a player a dialogue.
static final int POLLY
The dialogue npc identification.
void explainPrestige(DialogueFactory factory)
Represents the expressions of entities for dialogue.