From 4c45315c9f76bc32e1015a2a2bd9b3ae635023a7 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 18 Nov 2012 16:34:29 +0000 Subject: ADded support for enitty information printing, print current armor values for ships, print death messages --- src/core/entity.h | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'src/core/entity.h') diff --git a/src/core/entity.h b/src/core/entity.h index d90de8b..d3c8522 100644 --- a/src/core/entity.h +++ b/src/core/entity.h @@ -75,6 +75,22 @@ public: /// destroy an entity virtual ~Entity(); + + /** + * @brief print information about the entity + * */ + virtual void print() const; + + /** + * @brief print information header + * */ + virtual void print_header() const; + + /** + * @brief print inventory if available + * */ + virtual void print_inventory() const; + /*----- inspectors ------------------------------------------------ */ @@ -234,9 +250,6 @@ public: return entity_keepalive; } - /// list inventory, if available, to console - void list_inventory() const; - /* ---- mutators -------------------------------------------------- */ /// assign shape -- cgit v1.2.3