diff options
Diffstat (limited to 'src/core/entity.h')
-rw-r--r-- | src/core/entity.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/entity.h b/src/core/entity.h index 6214d50..180d535 100644 --- a/src/core/entity.h +++ b/src/core/entity.h @@ -311,6 +311,9 @@ public: /// thrust inline float thrust() const { return entity_thrust; } + /// movement indicator + inline float movement() const { return entity_movement; } + /*----- serializers ----------------------------------------------- */ /// serialize the entity to a stream @@ -382,6 +385,8 @@ protected: float target_strafe; + float entity_movement; + private: // owner of the entity Player *entity_owner; |