RuneHive-Game
Loading...
Searching...
No Matches
KamfreenaDialogue.java
Go to the documentation of this file.
1package com.runehive.content.dialogue.impl;
2
3import com.runehive.content.dialogue.Dialogue;
4import com.runehive.content.dialogue.DialogueFactory;
5import com.runehive.content.dialogue.Expression;
6
7/**
8 * Handles the kamfreena dialogue.
9 *
10 * @author Daniel
11 */
12public class KamfreenaDialogue extends Dialogue {
13
14 @Override
15 public void sendDialogues(DialogueFactory factory) {
16 factory.sendNpcChat(345, Expression.HAPPY,
17 "Welcome to the warriors guild! You can only enter the",
18 "Cyclops room when you have a minimum of 25 tokens. Once",
19 "inside 25 tokens will be removed every 1 minute 30",
20 "seconds. Defender drop are automatically adjusted.").execute();
21 }
22}
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 sendNpcChat(int id, String... lines)
Appends an NpcDialogue to the current dialogue chain.
Represents an abstract dialogue, in which extending classes will be able to construct and send dialog...
Definition Dialogue.java:11
void sendDialogues(DialogueFactory factory)
Sends a player a dialogue.
Represents the expressions of entities for dialogue.