Skip to main content

Crate bevy_gauge

Crate bevy_gauge 

Source

Modules§

attribute_id
attributes
attributes_mut
commands
Deferred attribute operations via entity commands.
context
derived
Derived component support — automatically sync Bevy components with attributes.
expr
graph
instant
One-shot attribute mutations — Set, Add, or Subtract a value once without leaving a persistent modifier on the attribute node.
modifier
modifier_set
node
plugin
prelude
requirements
Boolean attribute requirements — expressions evaluated against an entity’s Attributes that gate state-machine transitions, equipment prerequisites, ability conditions, etc.
tags
writer
Entity-bound attribute mutation trait.

Macros§

attributes
Create an AttributeInitializer component from a set of attribute definitions.
define_tags
Declare a unit struct with TagMask associated constants for a tag hierarchy, plus a register(&mut TagResolver) method that registers every tag name with the resolver.
instant
Create an InstantModifierSet from a declarative list of operations.
mod_set
Create a ModifierSet from a set of attribute definitions.
register_derived
Register a AttributeDerived component via the inventory auto-registration system. Place this at module scope.
register_write_back
Register a WriteBack component via the inventory auto-registration system. Place this at module scope.
requires
Create a AttributeRequirements component from one or more expression strings.

Derive Macros§

AttributeComponent
Derive macro that generates AttributeDerived and/or WriteBack implementations for a Bevy component, binding its fields to attributes.