diff options
author | Stijn Buys <ingar@osirion.org> | 2010-10-15 13:01:44 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-10-15 13:01:44 +0000 |
commit | 862f1dc0ae63b476b620a817bb2ea73d9b35ef3f (patch) | |
tree | d2b6bdf6b252f82c022a728aab3df70f2e6cc2a6 /src/core/entity.h | |
parent | 05b9767b65f76481ba6cb05a6115268149055cc8 (diff) |
added 'eject cargo' game command
Diffstat (limited to 'src/core/entity.h')
-rw-r--r-- | src/core/entity.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 |