Liking cljdoc? Tell your friends :D
All platforms.

cark.behavior-tree.node-defs.predicate

The :predicate node succeeds or fail depending on its pred parameter. parameters:

  • :func : This context function will extract data from the tree context, before passing it to the :pred function.
  • :pred : (defaults to identity) This function will be passed the result of the :func call. The node will succeed if this returns a truthy value, fail otherwise.
  • :wait? : The node will stay in the :running state until the predicate is met.
The :predicate node succeeds or fail depending on its pred parameter.
parameters:
- :func : This context function will extract data from the tree context, before passing it to the :pred function.
- :pred : (defaults to identity) This function will be passed the result of the :func call. The node will succeed if this returns a truthy value, fail otherwise.
- :wait? : The node will stay in the :running state until the predicate is met.
raw docstring

compile-nodeclj/s

(compile-node tree id tag params _)
source

registerclj/s

(register)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close