Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/entity.h')
-rw-r--r--src/core/entity.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/entity.h b/src/core/entity.h
index c93d059..bf35bfe 100644
--- a/src/core/entity.h
+++ b/src/core/entity.h
@@ -68,6 +68,9 @@ public:
/// entity flags
inline unsigned int flags() const { return entity_flags; }
+ /// entity label (can not contain double quotes ")
+ inline std::string const & label() { return entity_label; }
+
/// entity name (can not contain double qoutes ")
inline std::string const & name() { return entity_name; }
@@ -145,6 +148,7 @@ public:
float entity_radius;
std::string entity_name;
+ std::string entity_label;
std::string entity_modelname;
model::Model *entity_model;
Shape entity_shape;