Class AbilitySlotButton

All Implemented Interfaces:
Cullable

public class AbilitySlotButton extends Group
  • Constructor Details

    • AbilitySlotButton

      public AbilitySlotButton(boolean plusOnEmpty, GameValueProvider GVP)
  • Method Details

    • setGameEnergy

      public void setGameEnergy(float gameEnergy)
      Установить прогресс перезарядки навыка (от 0 до 1)
    • getGameEnergy

      public float getGameEnergy()
    • setAbility

      public void setAbility(AbilityType abilityType)
    • getAbility

      public AbilityType getAbility()
      Returns:
      AbilityType или null
    • setCount

      public void setCount(int count)
    • getCount

      public int getCount()
    • getEnergyCost

      public int getEnergyCost()
    • update

      public void update()
    • setSelected

      public void setSelected(boolean selected)
    • isSelected

      public boolean isSelected()