public class StatefulCallableMapping extends ObjectMapping<StatefulCallable> implements EventMapping<StatefulCallable>
TurtleDrawCommand
where repeated instructions may have a
different outcome.Pattern.asTurtleDrawCommand(TurtleDrawCommand...)
Constructor and Description |
---|
StatefulCallableMapping(StatefulCallable... objects) |
Modifier and Type | Method and Description |
---|---|
StatefulCallable |
call(double value) |
StatefulCallable |
call(LEvent event) |
StatefulCallable |
getNoop() |
public StatefulCallableMapping(StatefulCallable... objects)
public StatefulCallable getNoop()
public StatefulCallable call(LEvent event)
call
in interface EventMapping<StatefulCallable>
public StatefulCallable call(double value)
call
in interface Mapping<StatefulCallable>
call
in class ObjectMapping<StatefulCallable>
value
- a real number in the interval [0.0, 1.0]Processing Library loom by Cora Johnson-Roberson. (c) 2014-2016