From 862f1dc0ae63b476b620a817bb2ea73d9b35ef3f Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 15 Oct 2010 13:01:44 +0000 Subject: added 'eject cargo' game command --- src/core/entity.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/core/entity.h') diff --git a/src/core/entity.h b/src/core/entity.h index f00e192..3ba2b0c 100644 --- a/src/core/entity.h +++ b/src/core/entity.h @@ -283,6 +283,16 @@ public: /// clear all update flags virtual void clear_updates(); + + /// set location + inline void set_location(const math::Vector3f &location) { + entity_location.assign(location); + } + + /// set location + inline void set_axis(const math::Axis &axis) { + entity_axis.assign(axis); + } /** * @brief mutable reference to the location -- cgit v1.2.3