Package com.mygdx.game.Quests
Class KillQuest
- java.lang.Object
-
- com.mygdx.game.Quests.Quest
-
- com.mygdx.game.Quests.KillQuest
-
public class KillQuest extends Quest
A Quest to kill a college is only complete once that college is dead
-
-
Field Summary
-
Fields inherited from class com.mygdx.game.Quests.Quest
description, isCompleted, name, reward
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckCompleted(Player p)Checks if the given player has met the complete condition-
Methods inherited from class com.mygdx.game.Quests.Quest
getDescription, getName, getReward, isCompleted
-
-
-
-
Method Detail
-
checkCompleted
public boolean checkCompleted(Player p)
Description copied from class:QuestChecks if the given player has met the complete condition- Specified by:
checkCompletedin classQuest- Parameters:
p- the player- Returns:
- has completed
-
-