summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Behaviors/BehaviorDoNothing.h
blob: 564032091fc3225e4af5f7541ea3fe0db375e1d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once



class cBehaviorDoNothing;

#include "Behavior.h"

/**  Always takes control of the tick and does nothing. Used for unimplemented mobs like squids. */
class cBehaviorDoNothing : 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;
};