Liking cljdoc? Tell your friends :D

cark.behavior-tree.event

The event maps keep the events coming in from the outside world and going out to it. We made the choice of raising errors if some events in are left unconsumed.

The event maps keep the events coming in from the outside world and going out to it.
We made the choice of raising errors if some events in are left unconsumed.
raw docstring

add-event-inclj/s

(add-event-in events event-name event-arg)

Adds an inbound event

Adds an inbound event
sourceraw docstring

add-event-outclj/s

(add-event-out events event-name event-arg)

Adds an event that will later be consumed by the library user

Adds an event that will later be consumed by the library user
sourceraw docstring

clear-events-inclj/s

(clear-events-in events)

Clears the inbound event queue of any event.

Clears the inbound event queue of any event.
sourceraw docstring

clear-events-outclj/s

(clear-events-out events)

Clears all the outbound events

Clears all the outbound events
sourceraw docstring

get-events-inclj/s

(get-events-in events)

Returns all the inbound events

Returns all the inbound events
sourceraw docstring

get-events-outclj/s

(get-events-out events)

Returns all the events from tree to user

Returns all the events from tree to user
sourceraw docstring

keysclj/s

source

makeclj/s

(make)
source

pop-event-inclj/s

(pop-event-in events event-name)
(pop-event-in events event-name pick-event?)

Returns a pair with first the matching event and next the updated events map. The pick-event? function allows for additional filtering. It will be passed the current event being considered, and should return true when that event should be picked, false otherwise.

Returns a pair with first the matching event and next the updated events map.
The pick-event? function allows for additional filtering. It will be passed the current
event being considered, and should return true when that event should be picked, false otherwise.
sourceraw docstring

update-events-inclj/s

(update-events-in events func)

Updates the inbound events witht eh provided function

Updates the inbound events witht eh provided function
sourceraw docstring

update-events-outclj/s

(update-events-out events func)

Updates the events for user consumptions with the provided function

Updates the events for user consumptions with the provided function
sourceraw docstring

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

× close