decorator

package
v0.0.0-...-1fef251 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2020 License: MIT Imports: 2 Imported by: 1

Documentation

Overview

Package decorator provides a number of useful decorator nodes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delayer

func Delayer(params core.Params, child core.Node) core.Node

Delayer ...

func Inverter

func Inverter(params core.Params, child core.Node) core.Node

Inverter ...

func Repeater

func Repeater(params core.Params, child core.Node) core.Node

Repeater updates its child n times, at which point the repeater returns Success. The repeater runs forever if n == 0.

func UntilFailure

func UntilFailure(params core.Params, child core.Node) core.Node

UntilFailure updates its child until it returns Failure.

func UntilSuccess

func UntilSuccess(params core.Params, child core.Node) core.Node

UntilSuccess updates its child until it returns Success.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL