ChargeAbility_Behavior.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include "Ability_Behavior.hpp"
4 
5 namespace comp
6 {
7 
15 {
16 public:
18  ChargeAbility_Behavior( iv::Instance * inst, Ability * m_ability, iv::Attr< int > * m_charges );
19 
20 protected:
21  // ChargeAbility_Behavior
22  virtual void ChargeAbilityActivated() = 0;
23 
24  // Ability_Behavior
25  virtual void AbilityActivated() override;
26 
27 private:
28  iv::Attr< int > * m_charges;
29  iv::FunctorField< int > field_charges;
30 };
31 
32 }