summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Wither.h
diff options
context:
space:
mode:
authorandrew <xdotftw@gmail.com>2014-03-25 09:32:58 +0100
committerandrew <xdotftw@gmail.com>2014-03-25 09:32:58 +0100
commit0fe1e50ffc744d861744e4aa4905e1b4b15e10fd (patch)
tree20bb1e5c88cf412a3b3edb2608c4aedb6c1e5497 /src/Mobs/Wither.h
parentMinor fixes (diff)
downloadcuberite-0fe1e50ffc744d861744e4aa4905e1b4b15e10fd.tar
cuberite-0fe1e50ffc744d861744e4aa4905e1b4b15e10fd.tar.gz
cuberite-0fe1e50ffc744d861744e4aa4905e1b4b15e10fd.tar.bz2
cuberite-0fe1e50ffc744d861744e4aa4905e1b4b15e10fd.tar.lz
cuberite-0fe1e50ffc744d861744e4aa4905e1b4b15e10fd.tar.xz
cuberite-0fe1e50ffc744d861744e4aa4905e1b4b15e10fd.tar.zst
cuberite-0fe1e50ffc744d861744e4aa4905e1b4b15e10fd.zip
Diffstat (limited to 'src/Mobs/Wither.h')
-rw-r--r--src/Mobs/Wither.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Mobs/Wither.h b/src/Mobs/Wither.h
index d09e3607a..52666a190 100644
--- a/src/Mobs/Wither.h
+++ b/src/Mobs/Wither.h
@@ -20,6 +20,9 @@ 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 void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;