summaryrefslogtreecommitdiffstats
path: root/src/Entities/Compoments/AttackComponent.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entities/Compoments/AttackComponent.h')
-rw-r--r--src/Entities/Compoments/AttackComponent.h14
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..1b465ef4f
--- /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){}
+
+}; \ No newline at end of file