Class AchievementSystem

All Implemented Interfaces:
Disposable, KryoSerializable

public final class AchievementSystem extends GameSystem
  • Constructor Details

    • AchievementSystem

      public AchievementSystem()
  • Method Details

    • write

      public void write(Kryo kryo, Output output)
      Specified by:
      write in interface KryoSerializable
      Overrides:
      write in class Registrable
    • read

      public void read(Kryo kryo, Input input)
      Specified by:
      read in interface KryoSerializable
      Overrides:
      read in class Registrable
    • isActive

      public boolean isActive()
    • 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
    • setEnabled

      public void setEnabled(boolean enabled)
    • registerDelta

      public void registerDelta(AchievementType achievementType, int delta)
    • setProgress

      public void setProgress(AchievementType achievementType, int progress)
    • update

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

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

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