summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Skeleton.h
diff options
context:
space:
mode:
authorPersson-dev <66266021+Persson-dev@users.noreply.github.com>2021-12-29 20:30:09 +0100
committerGitHub <noreply@github.com>2021-12-29 20:30:09 +0100
commit1edc6c8601f9d00751bf7c9f7fcc69d1e18bb46a (patch)
tree798914afc59b513341a86cbb5bd0918333104595 /src/Mobs/Skeleton.h
parentImproved farmer AI & Fixed entity loading functions (#5351) (diff)
downloadcuberite-1edc6c8601f9d00751bf7c9f7fcc69d1e18bb46a.tar
cuberite-1edc6c8601f9d00751bf7c9f7fcc69d1e18bb46a.tar.gz
cuberite-1edc6c8601f9d00751bf7c9f7fcc69d1e18bb46a.tar.bz2
cuberite-1edc6c8601f9d00751bf7c9f7fcc69d1e18bb46a.tar.lz
cuberite-1edc6c8601f9d00751bf7c9f7fcc69d1e18bb46a.tar.xz
cuberite-1edc6c8601f9d00751bf7c9f7fcc69d1e18bb46a.tar.zst
cuberite-1edc6c8601f9d00751bf7c9f7fcc69d1e18bb46a.zip
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;
+
} ;