From 60bcc06f43e0c249204149153976e534b239d138 Mon Sep 17 00:00:00 2001 From: Mat Date: Sat, 4 Apr 2020 14:44:17 +0300 Subject: Implement wither skeletons (#4563) --- src/Mobs/WitherSkeleton.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/Mobs/WitherSkeleton.h (limited to 'src/Mobs/WitherSkeleton.h') 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; + +} ; + + + + -- cgit v1.2.3