blob: 52c0c7c08031d242f68578f0cea99b0420e3e047 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#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;
};
|