summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Behaviors/BehaviorWanderer.h
blob: 258bf5f595a2b51d4673202501c4a992638def6e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once

// The mob will wander around
#include <chrono>

class cMonster;
class cEntity;
class cChunk;

class cBehaviorWanderer
{

public:
	cBehaviorWanderer(cMonster * a_Parent);

	// Functions our host Monster should invoke:
	bool ActiveTick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk);


private:
	cMonster * m_Parent;  // Our Parent

	std::chrono::milliseconds m_IdleInterval;
};