From 34e0bc759326803ead6e752533b402ff32db9dd2 Mon Sep 17 00:00:00 2001 From: Samuel Barney Date: Wed, 20 Aug 2014 18:56:31 -0600 Subject: Got the new mob classes implemented. --- src/Mobs/NewWither.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/Mobs/NewWither.h (limited to 'src/Mobs/NewWither.h') diff --git a/src/Mobs/NewWither.h b/src/Mobs/NewWither.h new file mode 100644 index 000000000..91f824016 --- /dev/null +++ b/src/Mobs/NewWither.h @@ -0,0 +1,31 @@ + +#pragma once + +#include "NewMonster.h" + + + + + +class cNewWither : + public cNewMonster +{ + typedef cNewMonster super; + +public: + cNewWither(void); + + CLASS_PROTODEF(cNewWither) + + /** Returns whether the wither is invulnerable to arrows. */ + bool IsArmored(void) const; + + // cEntity overrides + virtual bool Initialize(cWorld & a_World) override; + virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override; + +} ; + + + + -- cgit v1.2.3