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 cAIComponent { protected: cMonster * m_Self; public: cAIComponent(cMonster * a_Entity); virtual ~cAIComponent(){} virtual void Tick(float a_Dt, cChunk & a_Chunk){} };