From 365cbc6e1cea96741e26c9ce912b003f8fd2c62c Mon Sep 17 00:00:00 2001 From: Mattes D Date: Sun, 29 Sep 2019 14:59:24 +0200 Subject: Refactored more of Entities and BlockEntities to use Vector3. (#4403) --- src/Entities/FallingBlock.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/Entities/FallingBlock.h') 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 -- cgit v1.2.3