summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Squid.h
blob: 8039089e30c4317ea0aed93d09166d078faa4917 (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
28
29
30
31
32
33
34

#pragma once

#include "Monster.h"
#include "Behaviors/BehaviorDoNothing.h"





class cSquid :
	public cMonster
{
	typedef cMonster super;

public:
	cSquid();

	virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;

	CLASS_PROTODEF(cSquid)

	virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;

	// Squids do not drown (or float)
	virtual void HandleAir(void) override {}

private:
	cBehaviorDoNothing m_BehaviorDoNothing;
} ;