Crate big_brain_derive[][src]

Derive Macros

Action

Actions in big-brain are defined through this derive macro. Once defined, they can be freely used in a .ron file. They define actual behaviors that an actor will perform when the Thinker engine picks it as the active action, based on Considerations.

Consideration

Considerations in big-brain are defined through this derive macro. Once defined, they can be freely used in a .ron file. While Actions define behaviors, Considerations are used to determine whether to execute a certain action.