1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#pragma once // Makes the mob follow specific held items class cBehaviorItemFollower; #include "Behavior.h" class cBehaviorItemFollower : public cBehavior { public: void AttachToMonster(cMonster & a_Parent); private: /** Our parent */ cMonster * m_Parent; };