summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Skeleton.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/Skeleton.h')
-rw-r--r--src/Mobs/Skeleton.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Mobs/Skeleton.h b/src/Mobs/Skeleton.h
index ee9c803c2..486bfe609 100644
--- a/src/Mobs/Skeleton.h
+++ b/src/Mobs/Skeleton.h
@@ -18,10 +18,18 @@ public:
CLASS_PROTODEF(cSkeleton)
+ virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
+
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
virtual bool Attack(std::chrono::milliseconds a_Dt) override;
virtual void SpawnOn(cClientHandle & a_ClientHandle) override;
virtual bool IsUndead(void) override { return true; }
+ bool IsChargingBow() const { return m_ChargingBow; }
+
+private:
+
+ bool m_ChargingBow;
+
} ;