summaryrefslogtreecommitdiffstats
path: root/src/Entities/ThrownSnowballEntity.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-04-10 00:19:50 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2021-04-12 23:35:07 +0200
commit17c091a97f35ac4fceb6facea1b65588f498e3a0 (patch)
tree7a1e2eee7970abeb2794cc67b5b50497d9a9e1f1 /src/Entities/ThrownSnowballEntity.h
parentImprove bed handling robustness (diff)
downloadcuberite-17c091a97f35ac4fceb6facea1b65588f498e3a0.tar
cuberite-17c091a97f35ac4fceb6facea1b65588f498e3a0.tar.gz
cuberite-17c091a97f35ac4fceb6facea1b65588f498e3a0.tar.bz2
cuberite-17c091a97f35ac4fceb6facea1b65588f498e3a0.tar.lz
cuberite-17c091a97f35ac4fceb6facea1b65588f498e3a0.tar.xz
cuberite-17c091a97f35ac4fceb6facea1b65588f498e3a0.tar.zst
cuberite-17c091a97f35ac4fceb6facea1b65588f498e3a0.zip
Diffstat (limited to 'src/Entities/ThrownSnowballEntity.h')
-rw-r--r--src/Entities/ThrownSnowballEntity.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/Entities/ThrownSnowballEntity.h b/src/Entities/ThrownSnowballEntity.h
index a4fcd3cb6..84dc394dd 100644
--- a/src/Entities/ThrownSnowballEntity.h
+++ b/src/Entities/ThrownSnowballEntity.h
@@ -30,20 +30,10 @@ public: // tolua_export
cThrownSnowballEntity(cEntity * a_Creator, Vector3d a_Pos, Vector3d a_Speed);
-protected:
+private:
// cProjectileEntity overrides:
- virtual void OnHitSolidBlock(Vector3d a_HitPos, eBlockFace a_HitFace) override;
virtual void OnHitEntity(cEntity & a_EntityHit, Vector3d a_HitPos) override;
- virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
-
-private:
-
- /** Time in ticks to wait for the hit animation to begin before destroying */
- int m_DestroyTimer;
+ virtual void OnHitSolidBlock(Vector3d a_HitPos, eBlockFace a_HitFace) override;
} ; // tolua_export
-
-
-
-