summaryrefslogtreecommitdiffstats
path: root/src/Entities/FallingBlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entities/FallingBlock.h')
-rw-r--r--src/Entities/FallingBlock.h18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/Entities/FallingBlock.h b/src/Entities/FallingBlock.h
index 5f083402b..a1f5dfd06 100644
--- a/src/Entities/FallingBlock.h
+++ b/src/Entities/FallingBlock.h
@@ -8,15 +8,13 @@
// tolua_begin
-class cFallingBlock :
- public cEntity
+class cFallingBlock : public cEntity
{
// tolua_end
using Super = cEntity;
-public: // tolua_export
-
+ public: // tolua_export
CLASS_PROTODEF(cFallingBlock)
/** Creates a new falling block.
@@ -25,7 +23,7 @@ public: // tolua_export
// tolua_begin
- BLOCKTYPE GetBlockType(void) const { return m_BlockType; }
+ BLOCKTYPE GetBlockType(void) const { return m_BlockType; }
NIBBLETYPE GetBlockMeta(void) const { return m_BlockMeta; }
// tolua_end
@@ -34,11 +32,7 @@ public: // tolua_export
virtual void SpawnOn(cClientHandle & a_ClientHandle) override;
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
-private:
- BLOCKTYPE m_BlockType;
+ private:
+ BLOCKTYPE m_BlockType;
NIBBLETYPE m_BlockMeta;
-} ; // tolua_export
-
-
-
-
+}; // tolua_export