1
0
cuberite-2a/src/Mobs/Zombie.h

35 lines
534 B
C
Raw Normal View History

#pragma once
#include "AggressiveMonster.h"
class cZombie :
public cAggressiveMonster
{
typedef cAggressiveMonster super;
2015-05-01 13:34:24 -04:00
public:
cZombie(bool a_IsVillagerZombie);
CLASS_PROTODEF(cZombie)
2015-05-01 13:34:24 -04:00
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
virtual bool IsUndead(void) override { return true; }
2015-05-01 13:34:24 -04:00
bool IsVillagerZombie(void) const { return m_IsVillagerZombie; }
bool IsConverting (void) const { return m_IsConverting; }
private:
bool m_IsVillagerZombie;
bool m_IsConverting;
} ;