Package crackers.kobots.parts.movement
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.
-
-
Method Summary
Modifier and Type Method Description abstract Function0<Boolean>
getStopCheck()
Returns true
if the movement should be stopped.-
-
Method Detail
-
getStopCheck
abstract Function0<Boolean> getStopCheck()
Returns
true
if the movement should be stopped.
-
-
-
-