Class Rotate
-
- All Implemented Interfaces:
-
crackers.kobots.parts.movement.async.SceneMovement
public class Rotate implements SceneMovement
Parameter holder class for moveTo DSL
-
-
Constructor Summary
Constructors Constructor Description Rotate()
-
Method Summary
Modifier and Type Method Description DurationgetDuration()How long the movement should take. UnitsetDuration(Duration duration)How long the movement should take. Function1<Float, Float>getEase()Easing function to use for the movement. UnitsetEase(Function1<Float, Float> ease)Easing function to use for the movement. DurationgetStartDelay()UnitsetStartDelay(Duration startDelay)DurationgetEndDelay()UnitsetEndDelay(Duration endDelay)IntegergetAngle()UnitsetAngle(Integer angle)-
-
Method Detail
-
getDuration
Duration getDuration()
How long the movement should take.
-
setDuration
Unit setDuration(Duration duration)
How long the movement should take.
-
getStartDelay
Duration getStartDelay()
-
setStartDelay
Unit setStartDelay(Duration startDelay)
-
getEndDelay
Duration getEndDelay()
-
setEndDelay
Unit setEndDelay(Duration endDelay)
-
-
-
-