summaryrefslogtreecommitdiffstats
path: root/src/Entities/ThrownEggEntity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entities/ThrownEggEntity.h')
-rw-r--r--src/Entities/ThrownEggEntity.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/Entities/ThrownEggEntity.h b/src/Entities/ThrownEggEntity.h
index f20705b81..5c5252f26 100644
--- a/src/Entities/ThrownEggEntity.h
+++ b/src/Entities/ThrownEggEntity.h
@@ -17,21 +17,18 @@
// tolua_begin
-class cThrownEggEntity :
- public cProjectileEntity
+class cThrownEggEntity : public cProjectileEntity
{
// tolua_end
using Super = cProjectileEntity;
-public: // tolua_export
-
+ public: // tolua_export
CLASS_PROTODEF(cThrownEggEntity)
cThrownEggEntity(cEntity * a_Creator, Vector3d a_Pos, Vector3d a_Speed);
-private:
-
+ private:
/** Randomly decides whether to spawn a chicken where the egg lands. */
void TrySpawnChicken(Vector3d a_HitPos);
@@ -39,4 +36,4 @@ private:
virtual void OnHitEntity(cEntity & a_EntityHit, Vector3d a_HitPos) override;
virtual void OnHitSolidBlock(Vector3d a_HitPos, eBlockFace a_HitFace) override;
-} ; // tolua_export
+}; // tolua_export