summaryrefslogtreecommitdiffstats
path: root/src/Entities/ProjectileEgg.h
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-04-27 02:58:06 +0200
committerarchshift <admin@archshift.com>2014-04-27 02:58:06 +0200
commitcc39d314aee46ea608dd7d06bcc482a58898202e (patch)
tree3b29e350c089382c71bdbf9fcff92b40accafd2a /src/Entities/ProjectileEgg.h
parentMoved cFireworkEntity out of ProjectileEntity.h (diff)
downloadcuberite-cc39d314aee46ea608dd7d06bcc482a58898202e.tar
cuberite-cc39d314aee46ea608dd7d06bcc482a58898202e.tar.gz
cuberite-cc39d314aee46ea608dd7d06bcc482a58898202e.tar.bz2
cuberite-cc39d314aee46ea608dd7d06bcc482a58898202e.tar.lz
cuberite-cc39d314aee46ea608dd7d06bcc482a58898202e.tar.xz
cuberite-cc39d314aee46ea608dd7d06bcc482a58898202e.tar.zst
cuberite-cc39d314aee46ea608dd7d06bcc482a58898202e.zip
Diffstat (limited to 'src/Entities/ProjectileEgg.h')
-rw-r--r--src/Entities/ProjectileEgg.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Entities/ProjectileEgg.h b/src/Entities/ProjectileEgg.h
index 464526dfc..eac2650d0 100644
--- a/src/Entities/ProjectileEgg.h
+++ b/src/Entities/ProjectileEgg.h
@@ -10,6 +10,8 @@
+// tolua_begin
+
class cThrownEggEntity :
public cProjectileEntity
{
@@ -25,8 +27,6 @@ public:
protected:
- // tolua_end
-
// cProjectileEntity overrides:
virtual void OnHitSolidBlock(const Vector3d & a_HitPos, eBlockFace a_HitFace) override;
virtual void OnHitEntity (cEntity & a_EntityHit, const Vector3d & a_HitPos) override;
@@ -34,6 +34,4 @@ protected:
// Randomly decides whether to spawn a chicken where the egg lands.
void TrySpawnChicken(const Vector3d & a_HitPos);
- // tolua_begin
-
} ; \ No newline at end of file