diff options
Diffstat (limited to 'src/core/entity.h')
-rw-r--r-- | src/core/entity.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/core/entity.h b/src/core/entity.h index 8a996fd..6214d50 100644 --- a/src/core/entity.h +++ b/src/core/entity.h @@ -342,9 +342,15 @@ public: /// set the target pitch void set_pitch(float pitch); - /// set target roll + /// set target roll void set_roll(float roll); + /// set target strafe + void set_strafe(float strage); + + /// set afterburner/reverse + void set_afterburner(float afterburner); + /// runs one game frame for the entity /** * The default implementation will set direction() and thrust() to the desired targets @@ -355,6 +361,7 @@ public: /// current thrust float entity_thrust; +protected: /* target_ variables can be set by the client */ /// target thrust as set by the client float target_thrust; @@ -369,7 +376,11 @@ public: /// target roll as set by the client /** target_roll must be in the [-1, 1] range */ - float target_roll; + float target_roll; + + float target_afterburner; + + float target_strafe; private: // owner of the entity |