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 destroy a college is only complete once that college is destroyed
-
-
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 boolean
checkCompleted(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:Quest
Checks if the given player has met the complete condition- Specified by:
checkCompleted
in classQuest
- Parameters:
p
- the player- Returns:
- has completed
-
-