summaryrefslogtreecommitdiffstats
path: root/src/Entities/Boat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entities/Boat.h')
-rw-r--r--src/Entities/Boat.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/Entities/Boat.h b/src/Entities/Boat.h
index 455e740e2..ddb7af93d 100644
--- a/src/Entities/Boat.h
+++ b/src/Entities/Boat.h
@@ -15,8 +15,7 @@
// tolua_begin
-class cBoat:
- public cEntity
+class cBoat : public cEntity
{
// tolua_end
@@ -24,7 +23,7 @@ class cBoat:
// tolua_begin
-public:
+ public:
enum eMaterial
{
bmOak,
@@ -63,7 +62,8 @@ public:
/** Sets the eMaterial of the boat */
void SetMaterial(cBoat::eMaterial a_Material) { m_Material = a_Material; }
- /** Returns the eMaterial that should be used for a boat created from the specified item. Returns bmOak if not a boat item */
+ /** Returns the eMaterial that should be used for a boat created from the specified item. Returns bmOak if not a
+ * boat item */
static eMaterial ItemToMaterial(const cItem & a_Item);
/** Returns the boat item of the boat material */
@@ -83,7 +83,8 @@ public:
void SetLastDamage(int TimeSinceLastHit);
void UpdatePaddles(bool rightPaddleUsed, bool leftPaddleUsed);
-private:
+
+ private:
int m_LastDamage;
int m_ForwardDirection;
@@ -93,4 +94,4 @@ private:
bool m_RightPaddleUsed;
bool m_LeftPaddleUsed;
-} ; // tolua_export
+}; // tolua_export