33 lines
469 B
C++
33 lines
469 B
C++
#pragma once
|
|
|
|
#include "AggressiveMonster.h"
|
|
|
|
|
|
|
|
|
|
|
|
class cZombie :
|
|
public cAggressiveMonster
|
|
{
|
|
typedef cAggressiveMonster super;
|
|
|
|
public:
|
|
cZombie(bool IsVillagerZombie);
|
|
|
|
CLASS_PROTODEF(cZombie);
|
|
|
|
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
|
|
|
|
bool IsVillagerZombie(void) const {return m_bIsVillagerZombie; }
|
|
bool IsConverting(void) const {return m_bIsConverting; }
|
|
|
|
private:
|
|
|
|
bool m_bIsVillagerZombie, m_bIsConverting;
|
|
|
|
} ;
|
|
|
|
|
|
|
|
|