summaryrefslogblamecommitdiffstats
path: root/src/Mobs/Behaviors/BehaviorItemFollower.h
blob: e0a8a85e402469086993e2a65f0e74cdc3d43897 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                           
                            


                     
                                              

       
                                                  

                                                                                

        

                            
  
#pragma once

// Makes the mob follow specific held items
class cBehaviorItemFollower;

#include "Behavior.h"

class cBehaviorItemFollower : public cBehavior
{
public:
	void AttachToMonster(cMonster & a_Parent);
	bool IsControlDesired(std::chrono::milliseconds a_Dt, cChunk & a_Chunk);
	void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk);

private:
	/** Our parent */
	cMonster * m_Parent;
};