Toggle navigation
ivorium
iv_components
Example project
GitHub
Main Page
Modules
Classes
Files
File List
iv_components
Ability
Ability_Behavior.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Ability.hpp
"
4
#include <
ivorium.hpp
>
5
6
namespace
comp
7
{
8
14
class
Ability_Behavior
15
{
16
public
:
17
iv::ClientMarker
cm
;
18
19
Ability_Behavior
(
iv::Instance
*,
Ability
* m_ability );
20
iv::Instance
*
instance
()
const
;
21
22
protected
:
23
// Ability_Behavior
26
virtual
void
AbilityActivated
() = 0;
27
30
void
AbilityEnable
(
bool
);
31
34
Ability
*
ability
();
35
36
private
:
37
iv::Instance
* inst;
38
Ability
* m_ability;
39
iv::FunctorActivatorField
field_activate;
40
};
41
42
}