diff options
author | Mat <mail@mathias.is> | 2020-04-04 13:44:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-04 13:44:17 +0200 |
commit | 60bcc06f43e0c249204149153976e534b239d138 (patch) | |
tree | dc3178edca8b8a0ad77b6002621fd5765398d8e6 /src/Mobs/WitherSkeleton.h | |
parent | Manage block entity lifetime with unique_ptr (#4080) (diff) | |
download | cuberite-60bcc06f43e0c249204149153976e534b239d138.tar cuberite-60bcc06f43e0c249204149153976e534b239d138.tar.gz cuberite-60bcc06f43e0c249204149153976e534b239d138.tar.bz2 cuberite-60bcc06f43e0c249204149153976e534b239d138.tar.lz cuberite-60bcc06f43e0c249204149153976e534b239d138.tar.xz cuberite-60bcc06f43e0c249204149153976e534b239d138.tar.zst cuberite-60bcc06f43e0c249204149153976e534b239d138.zip |
Diffstat (limited to 'src/Mobs/WitherSkeleton.h')
-rw-r--r-- | src/Mobs/WitherSkeleton.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/Mobs/WitherSkeleton.h b/src/Mobs/WitherSkeleton.h new file mode 100644 index 000000000..c77d06822 --- /dev/null +++ b/src/Mobs/WitherSkeleton.h @@ -0,0 +1,28 @@ + +#pragma once + +#include "AggressiveMonster.h" + + + + + +class cWitherSkeleton : + public cAggressiveMonster +{ + typedef cAggressiveMonster super; + +public: + cWitherSkeleton(void); + + CLASS_PROTODEF(cWitherSkeleton) + + virtual bool Attack(std::chrono::milliseconds a_Dt) override; + virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override; + virtual void SpawnOn(cClientHandle & a_ClientHandle) override; + +} ; + + + + |