summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Villager.h
blob: 349eb7195e174966c60d052d97bb2ff5b3d33b64 (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
43

#pragma once

#include "Monster.h"





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

	enum eVillagerType
	{
		vtFarmer     = 0,
		vtLibrarian  = 1,
		vtPriest     = 2,
		vtBlacksmith = 3,
		vtButcher    = 4,
		vtGeneric    = 5,
		vtMax
	} ;

	cVillager(eVillagerType VillagerType);

	CLASS_PROTODEF(cVillager)

	// Get and set functions.
	int      GetVilType(void)              const { return m_Type; }

private:

	int m_Type;

} ;