Interface Movement

  • All Implemented Interfaces:

    
    public interface Movement
    
                        

    Basic interface for a generic movement. A stopCheck function may be supplied to terminate movement, which should be checked prior to any physical action.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract 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
    • Constructor Detail

    • Method Detail

      • getStopCheck

         abstract Function0<Boolean> getStopCheck()

        Returns true if the movement should be stopped.