Class QuestIndicatorComponent
java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.components.questgiver.QuestIndicatorComponent
- All Implemented Interfaces:
com.badlogic.gdx.utils.Json.Serializable
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
create()
This will create the questgiver indicator - it listens to events on the mission manager to discover when missions become available, are completed or expire.void
registerQuestgiver
(Entity questgiver) Register the questgiver.Methods inherited from class com.csse3200.game.components.Component
dispose, earlyUpdate, getEntity, read, setEnabled, setEntity, toString, triggerEarlyUpdate, triggerUpdate, update, write
-
Constructor Details
-
QuestIndicatorComponent
public QuestIndicatorComponent()
-
-
Method Details
-
create
public void create()This will create the questgiver indicator - it listens to events on the mission manager to discover when missions become available, are completed or expire. -
registerQuestgiver
Register the questgiver. This is needed to be able to dismiss the indicator when the player interacts with the questgiver.
-