summaryrefslogblamecommitdiffstats
path: root/source/Mobs/Villager.h
blob: 86888d9eb635ddd387debd2ba85ccfd748adf688 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                      











                                              

                                  

                                                                   
                                                        




                   




   

#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;

} ;