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.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/entity.h b/src/core/entity.h
index 6a7fa7e..fea784a 100644
--- a/src/core/entity.h
+++ b/src/core/entity.h
@@ -183,7 +183,11 @@ public:
/// find a menu
MenuDescription *find_menu(const std::string &label);
-
+
+ /// true if the entity is to be deleted
+ inline bool destroyed() const {
+ return entity_destroyed;
+ }
/* ---- mutators -------------------------------------------------- */