blob: 86888d9eb635ddd387debd2ba85ccfd748adf688 (
plain) (
tree)
|
|
#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;
} ;
|