Class QuestSystem

All Implemented Interfaces:
Disposable, KryoSerializable

public final class QuestSystem extends GameSystem
  • Constructor Details

    • QuestSystem

      public QuestSystem()
  • Method Details

    • affectsGameState

      public boolean affectsGameState()
      Specified by:
      affectsGameState in class GameSystem
    • setup

      public void setup()
      Description copied from class: GameSystem
      Performs the initial configuration of the system. At the moment of call, systemProvider already contains all objects of systems.
      Overrides:
      setup in class GameSystem
    • postSetup

      public void postSetup()
      Description copied from class: GameSystem
      Performs the final configuration of the system. At the moment of call, all systems are already loaded and setup(), all listeners are already added.
      Overrides:
      postSetup in class GameSystem
    • postStateRestore

      public void postStateRestore()
      Overrides:
      postStateRestore in class GameSystem
    • addQuest

      public QuestSystem.QuestEntry addQuest(QuestSystem.Quest quest)
    • removeQuest

      public void removeQuest(QuestSystem.Quest quest)
    • removeQuestWithDelay

      public void removeQuestWithDelay(QuestSystem.Quest quest, float delay)
    • getListItem

      @Null public QuestList.QuestListItem getListItem(QuestSystem.Quest quest)
    • getBasicLevelStars

      public int getBasicLevelStars()
    • draw

      public void draw(float deltaTime, float realDeltaTime)
    • update

      public void update(float deltaTime)
      Overrides:
      update in class GameSystem
    • getSystemName

      public String getSystemName()
      Specified by:
      getSystemName in class GameSystem
    • saveBasicLevelQuestValues

      public void saveBasicLevelQuestValues()
      Сохранить текущее значение квестов, которые проходятся в течение нескольких уровней. Если уже были сохранены, будет ошибка и значения не будут добавлены.
    • dispose

      public void dispose()
      Description copied from interface: com.badlogic.gdx.utils.Disposable
      Releases all resources of this object.
      Specified by:
      dispose in interface Disposable
      Overrides:
      dispose in class GameSystem