comp::Ability Class Reference
#include <Ability.hpp>
Public Member Functions | |
Ability (iv::Instance *inst) | |
iv::Instance * | instance () const |
Public Attributes | |
iv::ClientMarker | cm |
iv::SharedAttr< uint64_t > | cooldown |
Absolute time of when the ability cools down. More... | |
iv::SharedAttr< iv::Activator > | activator |
Controls activation of the main functionality of the ability. More... | |
Detailed Description
We can add various more attributes to the ability:
- autocast
- continuous cast enable / disable
- channeling indication
- charges indicator Has identity that informs view on what graphics and descriptions to use when displaying it. Behavioral identity is handled outside of this model - typically depends on behavior implementation and configuration. Constraints are not handled here - they are specified and checked in ability behavior.
Definition at line 19 of file Ability.hpp.
Constructor & Destructor Documentation
◆ Ability()
comp::Ability::Ability | ( | iv::Instance * | inst | ) |
Definition at line 6 of file Ability.cpp.
Member Function Documentation
◆ instance()
iv::Instance * comp::Ability::instance | ( | ) | const |
Definition at line 13 of file Ability.cpp.
Member Data Documentation
◆ cm
iv::ClientMarker comp::Ability::cm |
Definition at line 22 of file Ability.hpp.
◆ cooldown
iv::SharedAttr< uint64_t > comp::Ability::cooldown |
Absolute time of when the ability cools down.
Definition at line 26 of file Ability.hpp.
◆ activator
iv::SharedAttr< iv::Activator > comp::Ability::activator |
Controls activation of the main functionality of the ability.
Definition at line 27 of file Ability.hpp.
The documentation for this class was generated from the following files:
- iv_components/Ability/Ability.hpp
- iv_components/Ability/Ability.cpp