summaryrefslogtreecommitdiffstats
path: root/src/Mobs/IronGolem.h
blob: ea1cc759d562f2e47fa3dc03f29eae285e729f79 (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

#pragma once

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




class cIronGolem :
	public cMonster
{
	typedef cMonster super;

public:
	cIronGolem(void);

	CLASS_PROTODEF(cIronGolem)

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

	// Iron golems do not drown nor float
	virtual void HandleAir(void) override {}
	virtual void SetSwimState(cChunk & a_Chunk) override {}

private:
	cBehaviorWanderer m_BehaviorWanderer;
} ;