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

public class QuestIndicatorComponent extends Component
  • 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.
      Overrides:
      create in class Component
    • registerQuestgiver

      public void registerQuestgiver(Entity questgiver)
      Register the questgiver. This is needed to be able to dismiss the indicator when the player interacts with the questgiver.