Module big_brain::thinker [−][src]
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
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.
The “brains” behind this whole operation. A Thinker
is what glues together Actions
and Scorers
and shapes larger, intelligent-seeming systems.
This is what you actually use to configure Thinker behavior. It’s a plain old ActionBuilder
, as well.