From a85c3ca1ff34775f2fc93013306dec21b34b0359 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 17 Sep 2010 23:05:58 +0000 Subject: Initial inventory loading, ships docking ships --- src/core/entity.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/core/entity.h') diff --git a/src/core/entity.h b/src/core/entity.h index fea784a..8bf637d 100644 --- a/src/core/entity.h +++ b/src/core/entity.h @@ -189,6 +189,9 @@ public: return entity_destroyed; } + /// list inventory, if available, to console + void list_inventory() const; + /* ---- mutators -------------------------------------------------- */ /// assign entity color @@ -252,10 +255,10 @@ public: entity_radius = radius; } - /* ---- actors ---------------------------------------------------- */ +/* ---- actors ---------------------------------------------------- */ /// called when the entity received a docking request - virtual void dock(core::Entity *entity); + virtual void dock(Entity *entity); /// set flags inline void set_flag(Flags flag) { -- cgit v1.2.3