1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#pragma once class cMonster; class cEntity; class cChunk; class cEnvironmentComponent { protected: cMonster * m_Self; public: cEnvironmentComponent(cMonster * a_Entity); virtual ~cEnvironmentComponent(){} virtual void Tick(float a_Dt, cChunk & a_Chunk){} };