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§
- Attribute
Plugin - Registers the required information for an
Attribute
. - Dirty
Attr - Marker component to indicates that an
Attribute
’s modifiers have changed since the last update. - Modifier
Generic Plugin - Registers the required information for a
ModifierGeneric
. - Modifier
Priority - Indicates the priority of a modifier.
Traits§
- Attribute
- Marker trait for components which act as attributes.
- Modifier
- A modifier on an
Attribute
. - Modifier
Generic - A generic version of
Modifier
. - Reset
- Resets a variable to its default value.
Type Aliases§
- Modifier
Plugin - Registers the required information for a
Modifier
.