Class RotateByAction
- java.lang.Object
-
- com.badlogic.gdx.scenes.scene2d.Action
-
- com.badlogic.gdx.scenes.scene2d.actions.TemporalAction
-
- com.badlogic.gdx.scenes.scene2d.actions.RelativeTemporalAction
-
- com.badlogic.gdx.scenes.scene2d.actions.RotateByAction
-
- All Implemented Interfaces:
Pool.Poolable
public class RotateByAction extends RelativeTemporalAction
Sets the actor's rotation from its current value to a relative value.
-
-
Constructor Summary
Constructors Constructor Description RotateByAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetAmount()voidsetAmount(float rotationAmount)protected voidupdateRelative(float percentDelta)-
Methods inherited from class com.badlogic.gdx.scenes.scene2d.actions.RelativeTemporalAction
begin, update
-
Methods inherited from class com.badlogic.gdx.scenes.scene2d.actions.TemporalAction
act, end, finish, getDuration, getInterpolation, getTime, isComplete, isReverse, reset, restart, setDuration, setInterpolation, setReverse, setTime
-
-
-
-
Method Detail
-
updateRelative
protected void updateRelative(float percentDelta)
- Specified by:
updateRelativein classRelativeTemporalAction
-
getAmount
public float getAmount()
-
setAmount
public void setAmount(float rotationAmount)
-
-