summaryrefslogtreecommitdiffstats
path: root/src/Entities/FallingBlock.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Entities/FallingBlock.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/Entities/FallingBlock.h b/src/Entities/FallingBlock.h
index 6a7297e9c..e4e9582d8 100644
--- a/src/Entities/FallingBlock.h
+++ b/src/Entities/FallingBlock.h
@@ -8,19 +8,20 @@
// tolua_begin
-
class cFallingBlock :
public cEntity
{
- typedef cEntity super;
-
-public:
// tolua_end
+ using super = cEntity;
+
+public: // tolua_export
+
CLASS_PROTODEF(cFallingBlock)
- /** Creates a new falling block. a_BlockPosition is expected in world coords */
- cFallingBlock(const Vector3i & a_BlockPosition, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta);
+ /** Creates a new falling block.
+ a_BlockPosition is expected in world coords */
+ cFallingBlock(Vector3i a_BlockPosition, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta);
// tolua_begin