Handles contribution towards the well of goodwill.
static final int MAXIMUM
The maximum contribution limit for the well.
static boolean isActive()
static void open(Player player)
Opens the well itemcontainer.
Represents a factory class that contains important functions for building dialogues.
final DialogueFactory execute()
Retrieves the next dialogue in the chain and executes it.
final DialogueFactory onAction(Runnable action)
Sets an action so this action can be executed after dialogues are done.
Player getPlayer()
The player that owns this factory.
final DialogueFactory sendStatement(String... lines)
Appends a StatementDialogue 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...
Created by Daniel on 2017-06-02.
void sendDialogues(DialogueFactory factory)
Sends a player a dialogue.