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

#pragma once

#include "PassiveAggressiveMonster.h"





class cIronGolem :
	public cPassiveAggressiveMonster
{
	typedef cPassiveAggressiveMonster super;
	
public:
	cIronGolem(CreateMonsterInfo a_Info);

	CLASS_PROTODEF(cIronGolem)
	
	virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;

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