summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Wither.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-04-02 12:00:26 +0200
committerMattes D <github@xoft.cz>2014-04-02 12:00:26 +0200
commit01c38505fd26a207e6bb0ad5916311c082c12b31 (patch)
tree56e499098895a03bc66beac5aa33ba4ee261f17e /src/Mobs/Wither.h
parentDebuggers: Added a Base64 API roundtrip test. (diff)
parentFixed clang compilation (diff)
downloadcuberite-01c38505fd26a207e6bb0ad5916311c082c12b31.tar
cuberite-01c38505fd26a207e6bb0ad5916311c082c12b31.tar.gz
cuberite-01c38505fd26a207e6bb0ad5916311c082c12b31.tar.bz2
cuberite-01c38505fd26a207e6bb0ad5916311c082c12b31.tar.lz
cuberite-01c38505fd26a207e6bb0ad5916311c082c12b31.tar.xz
cuberite-01c38505fd26a207e6bb0ad5916311c082c12b31.tar.zst
cuberite-01c38505fd26a207e6bb0ad5916311c082c12b31.zip
Diffstat (limited to 'src/Mobs/Wither.h')
-rw-r--r--src/Mobs/Wither.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Mobs/Wither.h b/src/Mobs/Wither.h
index d09e3607a..bc78bfaad 100644
--- a/src/Mobs/Wither.h
+++ b/src/Mobs/Wither.h
@@ -20,8 +20,12 @@ public:
unsigned int GetNumInvulnerableTicks(void) const { return m_InvulnerableTicks; }
void SetNumInvulnerableTicks(unsigned int a_Ticks) { m_InvulnerableTicks = a_Ticks; }
+
+ /** 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;
virtual void DoTakeDamage(TakeDamageInfo & a_TDI) override;
virtual void Tick(float a_Dt, cChunk & a_Chunk) override;