Skip to content

ComponentAbilityState

se5a edited this page Dec 20, 2024 · 2 revisions

AbilityStaate is any class that inherits from ComponentAbilityState This is used when Component Instances need to have mutable state at a per instance level (eg each component of this type on a ship needs to have state) rather than a per-Entity level.

A good example of this is Weapons needing state for reload timer, and which fire control they're attached to, and Fire control needing to store state on which enemy entity they're targeting.

Clone this wiki locally