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