summaryrefslogtreecommitdiffstats
path: root/src/Entities/ArrowEntity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entities/ArrowEntity.h')
-rw-r--r--src/Entities/ArrowEntity.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Entities/ArrowEntity.h b/src/Entities/ArrowEntity.h
index 4d4891ce4..629fd8987 100644
--- a/src/Entities/ArrowEntity.h
+++ b/src/Entities/ArrowEntity.h
@@ -20,9 +20,15 @@
class cArrowEntity :
public cProjectileEntity
{
- typedef cProjectileEntity super;
+ // tolua_end
+
+ using super = cProjectileEntity;
+
+ // tolua_begin
+
public:
+
/** Determines when the arrow can be picked up (depending on player gamemode). Corresponds to the MCA file "pickup" field */
enum ePickupState
{
@@ -36,7 +42,7 @@ public:
CLASS_PROTODEF(cArrowEntity)
/** Creates a new arrow with psNoPickup state and default damage modifier coeff */
- cArrowEntity(cEntity * a_Creator, double a_X, double a_Y, double a_Z, const Vector3d & a_Speed);
+ cArrowEntity(cEntity * a_Creator, Vector3d a_Pos, Vector3d a_Speed);
/** Creates a new arrow as shot by a player, initializes it from the player object */
cArrowEntity(cPlayer & a_Player, double a_Force);