public class WauzPlayerEventCitizenQuest extends java.lang.Object implements WauzPlayerEvent
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
citizenName
The name of the citizen to interact with.
|
private java.lang.String |
questName
The name of the quest to display.
|
core| Constructor and Description |
|---|
WauzPlayerEventCitizenQuest(java.lang.String citizenName,
java.lang.String questName)
Creates an event to view the quest of the given citizen.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(org.bukkit.entity.Player player)
Executes the event for the given player.
|
private java.lang.String citizenName
private java.lang.String questName
public WauzPlayerEventCitizenQuest(java.lang.String citizenName,
java.lang.String questName)
citizenName - The name of the citizen to interact with.questName - The name of the quest to display.public boolean execute(org.bukkit.entity.Player player)
execute in interface WauzPlayerEventplayer - The player for the execution.QuestProcessor.processQuest(Player, String)