diff options
Diffstat (limited to 'src/Entities/Compoments/AttackComponent.h')
-rw-r--r-- | src/Entities/Compoments/AttackComponent.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Entities/Compoments/AttackComponent.h b/src/Entities/Compoments/AttackComponent.h new file mode 100644 index 000000000..080f764b6 --- /dev/null +++ b/src/Entities/Compoments/AttackComponent.h @@ -0,0 +1,14 @@ +#pragma once + +#include "../Entity.h" + +class cAttackComponent +{ +protected: + cEntity * m_Self; +public: + cAttackComponent(cEntity * a_Entity) : m_Self(a_Entity){} + + virtual void OnAttackEntity(cEntity * a_Entity){} + +}; |