Class AbilityManager

java.lang.Object
com.prineside.tdi2.Manager.ManagerAdapter
com.prineside.tdi2.managers.AbilityManager
All Implemented Interfaces:
Disposable, Manager

public class AbilityManager extends Manager.ManagerAdapter
  • Field Details

  • Constructor Details

    • AbilityManager

      public AbilityManager()
  • Method Details

    • setup

      public void setup()
      Description copied from interface: Manager
      Called when all manager objects are already created and can be accessed
      Specified by:
      setup in interface Manager
      Overrides:
      setup in class Manager.ManagerAdapter
    • test

      public void test()
      Description copied from interface: Manager
      Called after all managers are set up. Tests managers early to make sure they can work as intended.
      Specified by:
      test in interface Manager
      Overrides:
      test in class Manager.ManagerAdapter
    • isAnyAbilityOpened

      public boolean isAnyAbilityOpened()
      Returns:
      true if at least one ability is available
    • getFactory

      public Ability.Factory<? extends Ability> getFactory(AbilityType abilityType)
    • getMaxPerGameGameValueType

      public GameValueType getMaxPerGameGameValueType(AbilityType abilityType)
    • getEnergyCostGameValueType

      public GameValueType getEnergyCostGameValueType(AbilityType abilityType)