Class AsyncRotationMovement
-
- All Implemented Interfaces:
-
crackers.kobots.parts.movement.Movement
public class AsyncRotationMovement extends RotationMovement
A rotation movement that includes duration and easing function.
-
-
Constructor Summary
Constructors Constructor Description AsyncRotationMovement(Integer targetAngle, Duration duration, Function1<Float, Float> easing)
-
Method Summary
Modifier and Type Method Description final Integer
getTargetAngle()
final Duration
getDuration()
final Function1<Float, Float>
getEasing()
-
-
Method Detail
-
getTargetAngle
final Integer getTargetAngle()
-
getDuration
final Duration getDuration()
-
-
-
-