Module thinker

Module thinker 

Source
Expand description

Thinkers are the “brain” of an entity. You attach Scorers to it, and the Thinker picks the right Action to run based on the resulting Scores.

Structs§

Action
ActionSpan
Actor
Wrapper for Actor entities. In terms of Scorers, Thinkers, and Actions, this is the Entity actually performing the action, rather than the entity a Scorer/Thinker/Action is attached to. Generally, you will use this entity when writing Queries for Action and Scorer systems.
HasThinker
Scorer
ScorerSpan
Thinker
The “brains” behind this whole operation. A Thinker is what glues together Actions and Scorers and shapes larger, intelligent-seeming systems.
ThinkerBuilder
This is what you actually use to configure Thinker behavior. It’s a plain old ActionBuilder, as well.
ThinkerIterations

Functions§

actor_gone_cleanup
thinker_component_attach_system
thinker_component_detach_system
thinker_system