Interface AsyncRotator
-
- All Implemented Interfaces:
-
crackers.kobots.parts.movement.async.AsyncActuator
public interface AsyncRotator implements AsyncActuator
An asynchronous rotator interface for devices that can rotate to a specified angle.
-
-
Method Summary
Modifier and Type Method Description abstract UnitrotateAsync(Integer angle, Duration time, Function1<Float, Float> easing)The basic asynchronous rotation function. UnitsoftLanding(Integer target, Duration time)UnitsoftLaunch(Integer target, Duration time)UnitsmoothMove(Integer target, Duration time)-
-
Method Detail
-
rotateAsync
abstract Unit rotateAsync(Integer angle, Duration time, Function1<Float, Float> easing)
The basic asynchronous rotation function. It is "device dependent", which means accuracy may be suspect.
-
softLanding
Unit softLanding(Integer target, Duration time)
-
softLaunch
Unit softLaunch(Integer target, Duration time)
-
smoothMove
Unit smoothMove(Integer target, Duration time)
-
-
-
-