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

#pragma once

#include "PassiveAggressiveMonster.h"





class cIronGolem : public cPassiveAggressiveMonster
{
	using Super = cPassiveAggressiveMonster;

  public:
	cIronGolem();

	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 {}
};