1 2 3 4 5 6 7 8 9 10 11 12 13
#pragma once #include "../Entity.h" #include "../../Mobs/Monster.h" class cAIComponent { protected: cMonster * m_Self; public: cAIComponent(cMonster * a_Entity) : m_Self(a_Entity){} virtual void Tick(float a_Dt, cChunk & a_Chunk){} };