Skip to main contentCrate cranium_core
Source pub use bevy;
- action_runtime
- The lifecycle of an AI Action - how it starts, runs, and finishes.
- action_state
- The values used by the Action Runtime to track the state of AI Actions.
- actions
- Actions and ActionTemplates. Action = ActionTemplate + Context (from a ContextFetcher).
- actionset
- ActionSets - bundles of Actions, typically all the affordances of a SmartObject or an NPC.
- ai
- The main Component that marks an Entity as running AI calculations.
- considerations
- Considerations - registerable Systems that score Actions.
- context_fetchers
- ContextFetchers - registerable Systems that find inputs (Contexts) for ActionTemplates.
- curves
- Utility Curves - pure functions on a unit interval that modulate Consideration responses.
- decision_loop
- The meat of the AI - the logic that glues all the Utility concepts together to output Action choices.
- entity_identifier
- Wrapper for Entities to display them more nicely, mainly for logging purposes.
- errors
- Errors and error-handling.
- events
- Assorted Event types used by Cranium.
- identifiers
- Identifiers for key types.
- lods
- AI LOD (Level of Detail) system for optimizing processing in complex worlds.
- pawn
- Pawns - the thing that an AI drives; an NPC, a crowd, a faction, anything.
- smart_object
- SmartObjects - objects exposing ActionTemplates to compatible AIs, as made famous by The Sims.
- types
- Type aliases and ‘abstracting’ newtypes.