summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Villager.h
blob: 86888d9eb635ddd387debd2ba85ccfd748adf688 (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
35
36
37
38
39
40
41
42

#pragma once

#include "PassiveMonster.h"





class cVillager :
	public cPassiveMonster
{
	typedef cPassiveMonster super;
	
public:

	enum eVillagerType
	{
		VILLAGER_TYPE_FARMER     = 0,
		VILLAGER_TYPE_LIBRARIAN  = 1,
		VILLAGER_TYPE_PRIEST     = 2,
		VILLAGER_TYPE_BLACKSMITH = 3,
		VILLAGER_TYPE_BUTCHER    = 4,
		VILLAGER_TYPE_GENERIC    = 5
	} ;

	cVillager(eVillagerType VillagerType);

	CLASS_PROTODEF(cVillager);

	virtual void DoTakeDamage(TakeDamageInfo & a_TDI) override;
	int GetVilType(void) const { return m_Type; }	

private:

	int m_Type;

} ;