summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Villager.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Mobs/Villager.h')
-rw-r--r--source/Mobs/Villager.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/source/Mobs/Villager.h b/source/Mobs/Villager.h
index 92267a979..5fcb519dd 100644
--- a/source/Mobs/Villager.h
+++ b/source/Mobs/Villager.h
@@ -13,9 +13,17 @@ class cVillager :
typedef cPassiveMonster super;
public:
- cVillager();
+ cVillager(int Type);
CLASS_PROTODEF(cVillager);
+
+ virtual void DoTakeDamage(TakeDamageInfo & a_TDI) override;
+ int GetVilType(void) const { return m_Type; }
+
+private:
+
+ int m_Type;
+
} ;