summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Wither.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/Wither.h')
-rw-r--r--src/Mobs/Wither.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/Mobs/Wither.h b/src/Mobs/Wither.h
new file mode 100644
index 000000000..cc327741a
--- /dev/null
+++ b/src/Mobs/Wither.h
@@ -0,0 +1,32 @@
+
+#pragma once
+
+#include "Monster.h"
+
+
+
+
+
+class cWither :
+ public cMonster
+{
+ typedef cMonster super;
+
+public:
+ cWither(void);
+
+ CLASS_PROTODEF(cWither)
+
+ /** Returns whether the wither is invulnerable to arrows. */
+ bool IsArmored(void) const;
+ int GetWitherInvulnerableTicks() const { return 0; }
+
+ // cEntity overrides
+ virtual bool Initialize(cWorld & a_World) override;
+ virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
+
+} ;
+
+
+
+