1 2 3 4 5 6 7 8 9
#include "Entity.h" class cComponent { protected: cEntity * m_Self; public: cComponent(cEntity * a_Entity) : m_Self(a_Entity){} };