Package arc.scene.actions
Class RotateByAction
java.lang.Object
arc.scene.Action
arc.scene.actions.TemporalAction
arc.scene.actions.RelativeTemporalAction
arc.scene.actions.RotateByAction
- All Implemented Interfaces:
Pool.Poolable
Sets the actor's rotation from its current value to a relative value.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
void
setAmount
(float rotationAmount) protected void
updateRelative
(float percentDelta) Methods inherited from class arc.scene.actions.RelativeTemporalAction
begin, update
Methods inherited from class arc.scene.actions.TemporalAction
act, end, finish, getDuration, getInterpolation, getTime, isReverse, reset, restart, setDuration, setInterpolation, setReverse, setTime
-
Constructor Details
-
RotateByAction
public RotateByAction()
-
-
Method Details
-
updateRelative
protected void updateRelative(float percentDelta) - Specified by:
updateRelative
in classRelativeTemporalAction
-
getAmount
public float getAmount() -
setAmount
public void setAmount(float rotationAmount)
-