blob: 277323ab14803f74a5f0ad17f7b551d79ca50342 (
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
25
26
27
|
#pragma once
// Makes the mob follow specific held items
class cBehaviorItemFollower;
#include "Behavior.h"
// fwds
class cMonster;
class cItems;
class cBehaviorItemFollower : public cBehavior
{
public:
void AttachToMonster(cMonster & a_Parent) override;
void GetBreedingItems(cItems & a_Items);
// Functions our host Monster should invoke:
bool IsControlDesired(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
private:
/** Our parent */
cMonster * m_Parent;
};
|