Crate bevy_power

Crate bevy_power 

Source

Modules§

prelude

Structs§

ApplyLimitEvent
Event to apply a power limit
KnockedOutEvent
Event sent when player is knocked out
LevelUpEvent
Event sent when player levels up
LiftLimitEvent
Event to lift/remove a power limit
PowerBar
Main power bar component that tracks current and maximum power
PowerBundle
Bundle for spawning an entity with power components
PowerChangeEvent
Event to change power (add or subtract)
PowerLevel
Tracks the power level for progression
PowerLimit
Represents a power limit that reduces available power
PowerLimits
Bundle of active power limits
PowerRegeneration
Handles power regeneration mechanics
PowerSystem
System parameters for convenient power system access
PowerSystemPlugin
Plugin for the power system
ReviveEvent
Event to revive a knocked out player
SpendPowerEvent
Event to spend power

Enums§

LimitType
Type of power limit - either fixed points or percentage