comp::Ability_Behavior Class Referenceabstract
#include <Ability_Behavior.hpp>
Public Member Functions | |
Ability_Behavior (iv::Instance *, Ability *m_ability) | |
iv::Instance * | instance () const |
Public Attributes | |
iv::ClientMarker | cm |
Protected Member Functions | |
virtual void | AbilityActivated ()=0 |
void | AbilityEnable (bool) |
Ability * | ability () |
Detailed Description
Allows implementors to make the ability either enabled or disabled, depending on outside conditions. Method AbilityActivated is called when activation of the ability is requested by the user.
Definition at line 14 of file Ability_Behavior.hpp.
Constructor & Destructor Documentation
◆ Ability_Behavior()
comp::Ability_Behavior::Ability_Behavior | ( | iv::Instance * | inst, |
Ability * | m_ability | ||
) |
Definition at line 6 of file Ability_Behavior.cpp.
Member Function Documentation
◆ instance()
iv::Instance * comp::Ability_Behavior::instance | ( | ) | const |
Definition at line 25 of file Ability_Behavior.cpp.
◆ AbilityActivated()
|
protectedpure virtual |
Implemented in comp::ChargeAbility_Behavior.
◆ AbilityEnable()
|
protected |
Definition at line 35 of file Ability_Behavior.cpp.
◆ ability()
|
protected |
Definition at line 30 of file Ability_Behavior.cpp.
Member Data Documentation
◆ cm
iv::ClientMarker comp::Ability_Behavior::cm |
Definition at line 17 of file Ability_Behavior.hpp.
The documentation for this class was generated from the following files:
- iv_components/Ability/Ability_Behavior.hpp
- iv_components/Ability/Ability_Behavior.cpp