diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-05-02 17:50:08 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-05-02 17:50:08 +0200 |
commit | 114962943bf1697aaeab361f5aefb98d7f910ed2 (patch) | |
tree | 489c43e3e464b5dc88c99ba68be58759a1bf3cd2 /src/Mobs/Zombie.h | |
parent | Merge pull request #1919 from mathias-github/patch-1 (diff) | |
parent | AI - Better daylight handling (diff) | |
download | cuberite-114962943bf1697aaeab361f5aefb98d7f910ed2.tar cuberite-114962943bf1697aaeab361f5aefb98d7f910ed2.tar.gz cuberite-114962943bf1697aaeab361f5aefb98d7f910ed2.tar.bz2 cuberite-114962943bf1697aaeab361f5aefb98d7f910ed2.tar.lz cuberite-114962943bf1697aaeab361f5aefb98d7f910ed2.tar.xz cuberite-114962943bf1697aaeab361f5aefb98d7f910ed2.tar.zst cuberite-114962943bf1697aaeab361f5aefb98d7f910ed2.zip |
Diffstat (limited to 'src/Mobs/Zombie.h')
-rw-r--r-- | src/Mobs/Zombie.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/Mobs/Zombie.h b/src/Mobs/Zombie.h index 809c2a6fe..47a9f1904 100644 --- a/src/Mobs/Zombie.h +++ b/src/Mobs/Zombie.h @@ -10,17 +10,15 @@ class cZombie : public cAggressiveMonster { typedef cAggressiveMonster super; - + public: cZombie(bool a_IsVillagerZombie); CLASS_PROTODEF(cZombie) - - virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override; - virtual void MoveToPosition(const Vector3d & a_Position) override; + virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override; virtual bool IsUndead(void) override { return true; } - + bool IsVillagerZombie(void) const { return m_IsVillagerZombie; } bool IsConverting (void) const { return m_IsConverting; } |