Liking cljdoc? Tell your friends :D

cark.behavior-tree.tree

The tree map contains the static data of a behavior tree. That's the node themselves with their tick functions and parameters

The tree map contains the static data of a behavior tree.
That's the node themselves with their tick functions and parameters
raw docstring

dissoc-nodeclj/s

(dissoc-node tree id)

Removes a node from the tree

Removes a node from the tree
sourceraw docstring

get-next-idclj/s

(get-next-id tree)

Returns a vector pair with the next id and an updated tree

Returns a vector pair with the next id and an updated tree
sourceraw docstring

get-nodeclj/s

(get-node tree id)

Returns a node by id. A node is just a closure that can be called with a context.

Returns a node by id. A node is just a closure that can be called with a context.
sourceraw docstring

get-node-metaclj/s

(get-node-meta tree id)

Returns the node meta-data, that includes tag, params and children-ids

Returns the node meta-data, that includes tag, params and children-ids
sourceraw docstring

get-root-nodeclj/s

(get-root-node tree)

Returns the root node

Returns the root node
sourceraw docstring

get-root-node-idclj/s

(get-root-node-id tree)

Returns the id of the root node

Returns the id of the root node
sourceraw docstring

keysclj/s

The keys found in a node tree

The keys found in a node tree
sourceraw docstring

makeclj/s

(make)

Returns an empty tree

Returns an empty tree
sourceraw docstring

set-nodeclj/s

(set-node tree id tree-node)

Sets the node at the provided id

Sets the node at the provided id
sourceraw docstring

set-node-metaclj/s

(set-node-meta tree id value)

Sets the node meta-data

Sets the node meta-data
sourceraw docstring

set-root-node-idclj/s

(set-root-node-id tree id)

Set the roo node id

Set the roo node id
sourceraw docstring

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

× close