From ee00d189724c99f5fe5f7b1008b22632365f8235 Mon Sep 17 00:00:00 2001 From: Samuel Barney Date: Sat, 28 Dec 2013 13:25:41 -0700 Subject: Switched to using Xoft's multibase inheritance structure. --- src/Entities/Compoments/AttackComponent.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/Entities/Compoments/AttackComponent.h (limited to 'src/Entities/Compoments/AttackComponent.h') 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 -- cgit v1.2.3