summaryrefslogtreecommitdiffstats
path: root/src/Entities/ExpOrb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entities/ExpOrb.h')
-rw-r--r--src/Entities/ExpOrb.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/Entities/ExpOrb.h b/src/Entities/ExpOrb.h
index 3a7f4ee69..cd1ee5ffb 100644
--- a/src/Entities/ExpOrb.h
+++ b/src/Entities/ExpOrb.h
@@ -8,15 +8,13 @@
// tolua_begin
-class cExpOrb:
- public cEntity
+class cExpOrb : public cEntity
{
// tolua_end
using Super = cEntity;
-public: // tolua_export
-
+ public: // tolua_export
CLASS_PROTODEF(cExpOrb)
cExpOrb(Vector3d a_Pos, int a_Reward);
@@ -47,9 +45,9 @@ public: // tolua_export
/** Split reward into small values according to regular Minecraft rules */
static std::vector<int> Split(int a_Reward);
-protected:
+ protected:
int m_Reward;
/** The number of ticks that the entity has existed / timer between collect and destroy; in msec */
std::chrono::milliseconds m_Timer;
-} ; // tolua_export
+}; // tolua_export