From 5026eca4d9818d32fe69571c1c621aa318bc4d48 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Mon, 16 May 2005 22:49:25 +0000 Subject: Added new barber by Neko-mon and moved being logic into Being class. --- src/being.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'src/being.h') diff --git a/src/being.h b/src/being.h index 8224a729..a2390f89 100644 --- a/src/being.h +++ b/src/being.h @@ -56,14 +56,11 @@ class Being unsigned short speed; unsigned char emotion; unsigned char emotion_time; - unsigned int text_x, text_y; // temp solution to fix speech position + unsigned int text_x, text_y; // temp solution to fix speech position unsigned short weapon; char name[24]; - unsigned int speech_time; - unsigned int damage_time; - bool showSpeech, showDamage; - unsigned short aspd; // attack speed + unsigned short aspd; /**< Attack speed */ /** * Constructor. @@ -135,6 +132,11 @@ class Being */ void nextStep(); + /** + * Performs being logic. + */ + void logic(); + /** * Draws the speech text above the being. */ @@ -165,6 +167,9 @@ class Being std::string speech; std::string damage; unsigned short hairStyle, hairColor; + unsigned int speech_time; + unsigned int damage_time; + bool showSpeech, showDamage; }; /** Add a Being to the list */ -- cgit v1.2.3-70-g09d2