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