Crate bevy_attr

source ·
Expand description

Automatic management of highly modular, highly parallel values with minimal overhead.

Good examples of things to use this crate for are in-game stats, and systems like health management (both maximum health and health could be implemented as attributes).

See the Attribute trait for a more detailed overview, or view the examples.

Structs

Registers the required information for an Attribute.
Marker component to indicates that an Attribute’s modifiers have changed since the last update.
Registers the required information for a ModifierGeneric.
Indicates the priority of a modifier.

Traits

Marker trait for components which act as attributes.
A modifier on an Attribute.
A generic version of Modifier.
Resets a variable to its default value.

Type Definitions

Registers the required information for a Modifier.