Class AbilitySlotButton

java.lang.Object
com.badlogic.gdx.scenes.scene2d.Actor
com.badlogic.gdx.scenes.scene2d.Group
com.prineside.tdi2.ui.actors.AbilitySlotButton
All Implemented Interfaces:
com.badlogic.gdx.scenes.scene2d.utils.Cullable

public class AbilitySlotButton extends com.badlogic.gdx.scenes.scene2d.Group
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbilitySlotButton(boolean plusOnEmpty, GameValueProvider GVP)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    int
     
    float
     
    boolean
     
    void
    setAbility(AbilityType abilityType)
     
    void
    setCount(int count)
     
    void
    setGameEnergy(float gameEnergy)
    Установить прогресс перезарядки навыка (от 0 до 1)
    void
    setSelected(boolean selected)
     
    void
     

    Methods inherited from class com.badlogic.gdx.scenes.scene2d.Group

    act, addActor, addActorAfter, addActorAt, addActorBefore, clear, clear, clearChildren, clearChildren, debugAll, draw, drawDebug, findActor, getChild, getChildren, getCullingArea, hasChildren, hit, isTransform, localToDescendantCoordinates, removeActor, removeActor, removeActorAt, setCullingArea, setDebug, setTransform, swapActor, swapActor, toString

    Methods inherited from class com.badlogic.gdx.scenes.scene2d.Actor

    addAction, addCaptureListener, addListener, ancestorsVisible, ascendantsVisible, clearActions, clearListeners, clipBegin, clipBegin, clipEnd, debug, fire, firstAscendant, getActions, getCaptureListeners, getColor, getDebug, getHeight, getListeners, getName, getOriginX, getOriginY, getParent, getRight, getRotation, getScaleX, getScaleY, getStage, getTop, getTouchable, getUserObject, getWidth, getX, getX, getY, getY, getZIndex, hasActions, hasKeyboardFocus, hasParent, hasScrollFocus, isAscendantOf, isDescendantOf, isTouchable, isTouchFocusListener, isTouchFocusTarget, isVisible, localToActorCoordinates, localToAscendantCoordinates, localToParentCoordinates, localToScreenCoordinates, localToStageCoordinates, moveBy, notify, parentToLocalCoordinates, remove, removeAction, removeCaptureListener, removeListener, rotateBy, scaleBy, scaleBy, screenToLocalCoordinates, setBounds, setColor, setColor, setDebug, setHeight, setName, setOrigin, setOrigin, setOriginX, setOriginY, setPosition, setPosition, setRotation, setScale, setScale, setScaleX, setScaleY, setSize, setTouchable, setUserObject, setVisible, setWidth, setX, setX, setY, setY, setZIndex, sizeBy, sizeBy, stageToLocalCoordinates, toBack, toFront

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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()
    • update

      public void update()
    • setSelected

      public void setSelected(boolean selected)
    • isSelected

      public boolean isSelected()