Uses of Class
com.badlogic.gdx.scenes.scene2d.Action
-
Packages that use Action Package Description com.badlogic.gdx.scenes.scene2d com.badlogic.gdx.scenes.scene2d.actions com.badlogic.gdx.scenes.scene2d.ui -
-
Uses of Action in com.badlogic.gdx.scenes.scene2d
Methods in com.badlogic.gdx.scenes.scene2d that return types with arguments of type Action Modifier and Type Method Description Array<Action>Actor. getActions()Methods in com.badlogic.gdx.scenes.scene2d with parameters of type Action Modifier and Type Method Description voidActor. addAction(Action action)voidStage. addAction(Action action)Adds an action to the root of the stage.voidActor. removeAction(Action action) -
Uses of Action in com.badlogic.gdx.scenes.scene2d.actions
Subclasses of Action in com.badlogic.gdx.scenes.scene2d.actions Modifier and Type Class Description classAddActionAdds an action to an actor.classAddListenerActionAdds a listener to an actor.classAfterActionExecutes an action only after all other actions on the actor at the time this action's target was set have finished.classAlphaActionSets the alpha for an actor's color (or a specified color), from the current alpha to the new alpha.classColorActionSets the actor's color (or a specified color), from the current to the new color.classCountdownEventAction<T extends Event>An EventAction that is complete once it receives X number of events.classDelayActionDelays execution of an action or inserts a pause in aSequenceAction.classDelegateActionBase class for an action that wraps another action.classEventAction<T extends Event>Adds a listener to the actor for a specific event type and does not complete untilEventAction.handle(Event)returns true.classFloatActionAn action that has a float, whose value is transitioned over time.classIntActionAn action that has an int, whose value is transitioned over time.classLayoutActionSets an actor'slayoutto enabled or disabled.classMoveByActionMoves an actor to a relative position.classMoveToActionMoves an actor from its current position to a specific position.classParallelActionExecutes a number of actions at the same time.classRelativeTemporalActionBase class for actions that transition over time using the percent complete since the last frame.classRemoveActionRemoves an action from an actor.classRemoveActorActionRemoves an actor from the stage.classRemoveListenerActionRemoves a listener from an actor.classRepeatActionRepeats an action a number of times or forever.classRotateByActionSets the actor's rotation from its current value to a relative value.classRotateToActionSets the actor's rotation from its current value to a specific value.classRunnableActionAn action that runs aRunnable.classScaleByActionScales an actor's scale to a relative size.classScaleToActionSets the actor's scale from its current value to a specific value.classSequenceActionExecutes a number of actions one at a time.classSizeByActionMoves an actor from its current size to a relative size.classSizeToActionMoves an actor from its current size to a specific size.classTemporalActionBase class for actions that transition over time using the percent complete.classTimeScaleActionMultiplies the delta of an action.classTouchableActionSets the actor'stouchability.classVisibleActionSets the actor'svisibility.Fields in com.badlogic.gdx.scenes.scene2d.actions declared as Action Modifier and Type Field Description protected ActionDelegateAction. actionMethods in com.badlogic.gdx.scenes.scene2d.actions with type parameters of type Action Modifier and Type Method Description static <T extends Action>
TActions. action(java.lang.Class<T> type)Returns a new or pooled action of the specified type.Methods in com.badlogic.gdx.scenes.scene2d.actions that return Action Modifier and Type Method Description ActionAddAction. getAction()ActionDelegateAction. getAction()ActionRemoveAction. getAction()static ActionActions. targeting(Actor target, Action action)Sets the target of an action and returns the action.Methods in com.badlogic.gdx.scenes.scene2d.actions that return types with arguments of type Action Modifier and Type Method Description Array<Action>ParallelAction. getActions()Methods in com.badlogic.gdx.scenes.scene2d.actions with parameters of type Action Modifier and Type Method Description static AddActionActions. addAction(Action action)static AddActionActions. addAction(Action action, Actor targetActor)voidParallelAction. addAction(Action action)static AfterActionActions. after(Action action)static DelayActionActions. delay(float duration, Action delayedAction)static RepeatActionActions. forever(Action repeatedAction)static ParallelActionActions. parallel(Action action1)static ParallelActionActions. parallel(Action... actions)static ParallelActionActions. parallel(Action action1, Action action2)static ParallelActionActions. parallel(Action action1, Action action2, Action action3)static ParallelActionActions. parallel(Action action1, Action action2, Action action3, Action action4)static ParallelActionActions. parallel(Action action1, Action action2, Action action3, Action action4, Action action5)static RemoveActionActions. removeAction(Action action)static RemoveActionActions. removeAction(Action action, Actor targetActor)static RepeatActionActions. repeat(int count, Action repeatedAction)static SequenceActionActions. sequence(Action action1)static SequenceActionActions. sequence(Action... actions)static SequenceActionActions. sequence(Action action1, Action action2)static SequenceActionActions. sequence(Action action1, Action action2, Action action3)static SequenceActionActions. sequence(Action action1, Action action2, Action action3, Action action4)static SequenceActionActions. sequence(Action action1, Action action2, Action action3, Action action4, Action action5)voidAddAction. setAction(Action action)voidDelegateAction. setAction(Action action)Sets the wrapped action.voidRemoveAction. setAction(Action action)static ActionActions. targeting(Actor target, Action action)Sets the target of an action and returns the action.static TimeScaleActionActions. timeScale(float scale, Action scaledAction)Constructors in com.badlogic.gdx.scenes.scene2d.actions with parameters of type Action Constructor Description ParallelAction(Action action1)ParallelAction(Action action1, Action action2)ParallelAction(Action action1, Action action2, Action action3)ParallelAction(Action action1, Action action2, Action action3, Action action4)ParallelAction(Action action1, Action action2, Action action3, Action action4, Action action5)SequenceAction(Action action1)SequenceAction(Action action1, Action action2)SequenceAction(Action action1, Action action2, Action action3)SequenceAction(Action action1, Action action2, Action action3, Action action4)SequenceAction(Action action1, Action action2, Action action3, Action action4, Action action5) -
Uses of Action in com.badlogic.gdx.scenes.scene2d.ui
Methods in com.badlogic.gdx.scenes.scene2d.ui with parameters of type Action Modifier and Type Method Description voidDialog. hide(Action action)Removes the dialog from the stage, restoring the previous keyboard and scroll focus, and adds the specified action to the dialog.DialogDialog. show(Stage stage, Action action)Packsthe dialog (but doesn't set the position), adds it to the stage, sets it as the keyboard and scroll focus, clears any actions on the dialog, and adds the specified action to it.
-