From 778b933e0078b740093ab9d83eddef702011791a Mon Sep 17 00:00:00 2001 From: Samuel Barney Date: Thu, 21 Aug 2014 08:26:42 -0600 Subject: Renamed all new Mob files and classes --- src/Mobs/Villager.h | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/Mobs/Villager.h (limited to 'src/Mobs/Villager.h') diff --git a/src/Mobs/Villager.h b/src/Mobs/Villager.h new file mode 100644 index 000000000..349eb7195 --- /dev/null +++ b/src/Mobs/Villager.h @@ -0,0 +1,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; + +} ; + + + + -- cgit v1.2.3