diff options
Diffstat (limited to 'src/Mobs/Old Mobs/Zombie.h')
-rw-r--r-- | src/Mobs/Old Mobs/Zombie.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/Mobs/Old Mobs/Zombie.h b/src/Mobs/Old Mobs/Zombie.h new file mode 100644 index 000000000..458945c3f --- /dev/null +++ b/src/Mobs/Old Mobs/Zombie.h @@ -0,0 +1,36 @@ +#pragma once + +#include "AggressiveMonster.h" + + + + + +class cZombie : + public cAggressiveMonster +{ + typedef cAggressiveMonster super; + +public: + cZombie(bool a_IsVillagerZombie); + + CLASS_PROTODEF(cZombie) + + virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) /*override*/; + virtual void MoveToPosition(const Vector3d & a_Position) /*override*/; + + virtual bool IsUndead(void) /*override*/ { return true; } + + bool IsVillagerZombie(void) const { return m_IsVillagerZombie; } + bool IsConverting (void) const { return m_IsConverting; } + +private: + + bool m_IsVillagerZombie; + bool m_IsConverting; + +} ; + + + + |