diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-10-09 22:02:59 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-10-09 22:02:59 +0200 |
commit | fe6fa23a97421af3d02b9faf92b8df2f73abb556 (patch) | |
tree | a080fa2de23b3123dc2d13ab8ee5565c3eac9ad6 /source/Mobs/Zombie.h | |
parent | Initial round of fixes (diff) | |
download | cuberite-fe6fa23a97421af3d02b9faf92b8df2f73abb556.tar cuberite-fe6fa23a97421af3d02b9faf92b8df2f73abb556.tar.gz cuberite-fe6fa23a97421af3d02b9faf92b8df2f73abb556.tar.bz2 cuberite-fe6fa23a97421af3d02b9faf92b8df2f73abb556.tar.lz cuberite-fe6fa23a97421af3d02b9faf92b8df2f73abb556.tar.xz cuberite-fe6fa23a97421af3d02b9faf92b8df2f73abb556.tar.zst cuberite-fe6fa23a97421af3d02b9faf92b8df2f73abb556.zip |
Diffstat (limited to 'source/Mobs/Zombie.h')
-rw-r--r-- | source/Mobs/Zombie.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source/Mobs/Zombie.h b/source/Mobs/Zombie.h index 4835a53c4..148b1121e 100644 --- a/source/Mobs/Zombie.h +++ b/source/Mobs/Zombie.h @@ -12,11 +12,19 @@ class cZombie : typedef cAggressiveMonster super; public: - cZombie(void); + 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; + } ; |