summaryrefslogblamecommitdiffstats
path: root/src/Mobs/Behaviors/BehaviorDoNothing.h
blob: 52c0c7c08031d242f68578f0cea99b0420e3e047 (plain) (tree)


















                                                                                              
#pragma once

// Always takes control of the tick and does nothing. Used for unimplemented mobs like squids.

class cBehaviorDoNothing;

#include "Behavior.h"

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;
};