summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Guardian.h
blob: 289654f5715d2a67be80c94b6361942f8b884d12 (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

#pragma once

#include "AggressiveMonster.h"





class cGuardian :
	public cAggressiveMonster
{
	typedef cAggressiveMonster super;

public:
	cGuardian();

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

	CLASS_PROTODEF(cGuardian)

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

	// Guardians do not drown (or float)
	virtual void HandleAir(void) override {}
	virtual void SetSwimState(cChunk & a_Chunk) override {}
} ;