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 Detail

      • AsyncRotationMovement

        AsyncRotationMovement(Integer targetAngle, Duration duration, Function1<Float, Float> easing)
        Parameters:
        targetAngle - The target angle for the rotation.
        duration - The duration of the rotation.
        easing - The easing function to be used for the rotation.