2012-06-14 09:06:06 -04:00
|
|
|
#pragma once
|
|
|
|
|
2012-09-23 16:53:08 -04:00
|
|
|
#include "AggressiveMonster.h"
|
2012-06-14 09:06:06 -04:00
|
|
|
|
2012-12-21 06:04:08 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class cZombie :
|
|
|
|
public cAggressiveMonster
|
2012-06-14 09:06:06 -04:00
|
|
|
{
|
2012-12-21 06:04:08 -05:00
|
|
|
typedef cAggressiveMonster super;
|
2015-05-01 13:34:24 -04:00
|
|
|
|
2012-06-14 09:06:06 -04:00
|
|
|
public:
|
2013-12-20 10:39:20 -05:00
|
|
|
cZombie(bool a_IsVillagerZombie);
|
2012-06-14 09:06:06 -04:00
|
|
|
|
2014-07-22 18:36:13 -04:00
|
|
|
CLASS_PROTODEF(cZombie)
|
2013-10-09 16:02:59 -04:00
|
|
|
|
2015-05-01 13:34:24 -04:00
|
|
|
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
|
2014-07-19 17:35:35 -04:00
|
|
|
virtual bool IsUndead(void) override { return true; }
|
2015-05-01 13:34:24 -04:00
|
|
|
|
2014-07-19 17:35:35 -04:00
|
|
|
bool IsVillagerZombie(void) const { return m_IsVillagerZombie; }
|
|
|
|
bool IsConverting (void) const { return m_IsConverting; }
|
2013-10-09 16:02:59 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
|
2013-12-20 10:39:20 -05:00
|
|
|
bool m_IsVillagerZombie;
|
|
|
|
bool m_IsConverting;
|
2013-10-09 16:02:59 -04:00
|
|
|
|
2012-12-21 06:04:08 -05:00
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-14 09:06:06 -04:00
|
|
|
|