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/Skeleton.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/Skeleton.h')
-rw-r--r-- | src/Mobs/Skeleton.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Mobs/Skeleton.h b/src/Mobs/Skeleton.h index 9c49c52fb..1b6ce4bf2 100644 --- a/src/Mobs/Skeleton.h +++ b/src/Mobs/Skeleton.h @@ -11,19 +11,18 @@ class cSkeleton : public cAggressiveMonster { typedef cAggressiveMonster super; - + public: cSkeleton(bool IsWither); CLASS_PROTODEF(cSkeleton) virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override; - virtual void MoveToPosition(const Vector3d & a_Position) override; virtual void Attack(std::chrono::milliseconds a_Dt) override; virtual void SpawnOn(cClientHandle & a_ClientHandle) override; virtual bool IsUndead(void) override { return true; } - + bool IsWither(void) const { return m_bIsWither; } private: |