diff options
Diffstat (limited to 'src/core/entity.h')
-rw-r--r-- | src/core/entity.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/entity.h b/src/core/entity.h index 9c90ef9..d887bc1 100644 --- a/src/core/entity.h +++ b/src/core/entity.h @@ -61,6 +61,9 @@ public: /// entity name (can not contain double qoutes ") inline std::string const & name() { return entity_name; } + /// entity model name + inline std::string const & modelname() { return entity_modelname; } + /// dirty flag inline bool dirty() const { return entity_dirty; } @@ -123,6 +126,7 @@ public: /* entity_ variables can be set by the module */ float entity_radius; std::string entity_name; + std::string entity_modelname; Shape entity_shape; math::Vector3f entity_location; math::Color entity_color; |