Package crackers.kobots.parts.movement
Class ActionBuilder.Linear
-
- All Implemented Interfaces:
public final class ActionBuilder.Linear
DSL to define a LinearMovement in an action.
-
-
Field Summary
Fields Modifier and Type Field Description private Integer
percentage
private Function0<Boolean>
stopCheck
-
Constructor Summary
Constructors Constructor Description ActionBuilder.Linear()
-
Method Summary
Modifier and Type Method Description final Integer
getPercentage()
final Unit
setPercentage(Integer percentage)
final Function0<Boolean>
getStopCheck()
final Unit
setStopCheck(Function0<Boolean> stopCheck)
-
-
Method Detail
-
getPercentage
final Integer getPercentage()
-
setPercentage
final Unit setPercentage(Integer percentage)
-
getStopCheck
final Function0<Boolean> getStopCheck()
-
setStopCheck
final Unit setStopCheck(Function0<Boolean> stopCheck)
-
-
-
-