diff options
author | Stijn Buys <ingar@osirion.org> | 2010-09-17 18:58:46 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-09-17 18:58:46 +0000 |
commit | 66ce015e5927c30801110acd289310fdff181792 (patch) | |
tree | 7beaa6b533eefdd26f0705bd65dfb5c3c9b5996a /src/core/entity.h | |
parent | c62fe609a69058e2e30f757e9a06f72a98464232 (diff) |
Initial support for players docking other players' ships.
Diffstat (limited to 'src/core/entity.h')
-rw-r--r-- | src/core/entity.h | 6 |
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 -------------------------------------------------- */ |