summaryrefslogtreecommitdiffstats
path: root/src/Entities/ExpBottleEntity.h
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-09-23 09:12:28 +0200
committerarchshift <admin@archshift.com>2014-09-23 09:28:12 +0200
commit5f6bac20915fda0d0a92c805f6dfbf562bb4beee (patch)
tree12fa79c7fc950383970de908fb73919c51edb146 /src/Entities/ExpBottleEntity.h
parentMerge pull request #1447 from cedeel/patch-2 (diff)
downloadcuberite-5f6bac20915fda0d0a92c805f6dfbf562bb4beee.tar
cuberite-5f6bac20915fda0d0a92c805f6dfbf562bb4beee.tar.gz
cuberite-5f6bac20915fda0d0a92c805f6dfbf562bb4beee.tar.bz2
cuberite-5f6bac20915fda0d0a92c805f6dfbf562bb4beee.tar.lz
cuberite-5f6bac20915fda0d0a92c805f6dfbf562bb4beee.tar.xz
cuberite-5f6bac20915fda0d0a92c805f6dfbf562bb4beee.tar.zst
cuberite-5f6bac20915fda0d0a92c805f6dfbf562bb4beee.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/ExpBottleEntity.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Entities/ExpBottleEntity.h b/src/Entities/ExpBottleEntity.h
index d62a84469..d36110f97 100644
--- a/src/Entities/ExpBottleEntity.h
+++ b/src/Entities/ExpBottleEntity.h
@@ -29,5 +29,10 @@ protected:
// cProjectileEntity overrides:
virtual void OnHitSolidBlock(const Vector3d & a_HitPos, eBlockFace a_HitFace) override;
+ virtual void OnHitEntity (cEntity & a_EntityHit, const Vector3d & a_HitPos) override;
+
+ /** Breaks the bottle, fires its particle effects and sounds
+ @param a_HitPos The position where the bottle will break */
+ void Break(const Vector3d &a_HitPos);
}; // tolua_export