Class LinearMovement

  • All Implemented Interfaces:
    crackers.kobots.parts.movement.Movement

    
    public class LinearMovement
     implements Movement
                        

    Describes where to go as a percentage of "in/out", where "in" is 0 and 100 is "out". A stopCheck function may also be supplied to terminate movement prior to reaching the desired setting.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Integer getPercentage()
      Function0<Boolean> getStopCheck() Returns true if the movement should be stopped.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait