Package crackers.kobots.parts.movement
Class ActionBuilder.Linear
-
- All Implemented Interfaces:
public final class ActionBuilder.LinearDSL to define a LinearMovement in an action.
-
-
Field Summary
Fields Modifier and Type Field Description private Integerpercentageprivate Function0<Boolean>stopCheck
-
Constructor Summary
Constructors Constructor Description ActionBuilder.Linear()
-
Method Summary
Modifier and Type Method Description final IntegergetPercentage()final UnitsetPercentage(Integer percentage)final Function0<Boolean>getStopCheck()final UnitsetStopCheck(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)
-
-
-
-