summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Entities/Compoments/Component.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Entities/Compoments/Component.h b/src/Entities/Compoments/Component.h
new file mode 100644
index 000000000..3d7ebccaa
--- /dev/null
+++ b/src/Entities/Compoments/Component.h
@@ -0,0 +1,9 @@
+#include "Entity.h"
+
+class cComponent
+{
+protected:
+ cEntity * m_Self;
+public:
+ cComponent(cEntity * a_Entity) : m_Self(a_Entity){}
+}; \ No newline at end of file