Class TowerAbilityButton

java.lang.Object
com.prineside.tdi2.scene2d.Actor
com.prineside.tdi2.scene2d.Group
com.prineside.tdi2.ui.components.TowerAbilityButton
All Implemented Interfaces:
Cullable

public final class TowerAbilityButton extends Group
  • Method Details

    • addListener

      public void addListener(TowerAbilityButton.AbilityButtonListener listener)
    • removeListener

      public void removeListener(TowerAbilityButton.AbilityButtonListener listener)
    • isSelected

      public boolean isSelected()
    • setSelected

      public void setSelected(boolean isSelected)
    • act

      public void act(float delta)
      Description copied from class: Actor
      Updates the actor based on time. Typically this is called each frame by Stage.act(float).

      The default implementation calls Action.act(float) on each action and removes actions that are complete.

      Overrides:
      act in class Group
      Parameters:
      delta - Time in seconds since the last frame.