Documentation
¶
Overview ¶
Package decorator provides a number of useful decorator nodes.
Index ¶
- func Delayer(params core.Params, child core.Node) core.Node
- func Inverter(params core.Params, child core.Node) core.Node
- func Repeater(params core.Params, child core.Node) core.Node
- func UntilFailure(params core.Params, child core.Node) core.Node
- func UntilSuccess(params core.Params, child core.Node) core.Node
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Repeater ¶
Repeater updates its child n times, at which point the repeater returns Success. The repeater runs forever if n == 0.
func UntilFailure ¶
UntilFailure updates its child until it returns Failure.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.