summaryrefslogtreecommitdiffstats
path: root/src/Entities/SplashPotionEntity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entities/SplashPotionEntity.h')
-rw-r--r--src/Entities/SplashPotionEntity.h24
1 files changed, 8 insertions, 16 deletions
diff --git a/src/Entities/SplashPotionEntity.h b/src/Entities/SplashPotionEntity.h
index 30ca8997d..02a570bc9 100644
--- a/src/Entities/SplashPotionEntity.h
+++ b/src/Entities/SplashPotionEntity.h
@@ -21,39 +21,31 @@ class cEntity;
// tolua_begin
-class cSplashPotionEntity :
- public cProjectileEntity
+class cSplashPotionEntity : public cProjectileEntity
{
// tolua_end
using Super = cProjectileEntity;
-public: // tolua_export
-
+ public: // tolua_export
CLASS_PROTODEF(cSplashPotionEntity)
- cSplashPotionEntity(
- cEntity * a_Creator,
- Vector3d a_Pos,
- Vector3d a_Speed,
- const cItem & a_Item
- );
+ cSplashPotionEntity(cEntity * a_Creator, Vector3d a_Pos, Vector3d a_Speed, const cItem & a_Item);
// tolua_begin
cEntityEffect::eType GetEntityEffectType(void) const { return m_EntityEffectType; }
- int GetPotionColor(void) const { return m_PotionColor; }
- const cItem & GetItem(void) const { return m_Item; }
+ int GetPotionColor(void) const { return m_PotionColor; }
+ const cItem & GetItem(void) const { return m_Item; }
void SetEntityEffectType(cEntityEffect::eType a_EntityEffectType) { m_EntityEffectType = a_EntityEffectType; }
void SetPotionColor(int a_PotionColor) { m_PotionColor = a_PotionColor; }
// tolua_end
- cEntityEffect GetEntityEffect(void) const { return m_EntityEffect; }
+ cEntityEffect GetEntityEffect(void) const { return m_EntityEffect; }
void SetEntityEffect(cEntityEffect a_EntityEffect) { m_EntityEffect = a_EntityEffect; }
-private:
-
+ private:
cEntityEffect::eType m_EntityEffectType;
cEntityEffect m_EntityEffect;
int m_PotionColor;
@@ -66,4 +58,4 @@ private:
// cProjectileEntity overrides:
virtual void OnHitEntity(cEntity & a_EntityHit, Vector3d a_HitPos) override;
virtual void OnHitSolidBlock(Vector3d a_HitPos, eBlockFace a_HitFace) override;
-} ; // tolua_export
+}; // tolua_export