diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-01-29 23:07:47 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-01-29 23:07:47 +0000 |
commit | a4e31503633c3029cb6c526275bc34d471a3c0d4 (patch) | |
tree | bab69782d480aaefb527bc07ad2f9730353a0279 /src/being.h | |
parent | 457ce3e7b4a869f92d8aef31bdee1b6793587a93 (diff) | |
download | mana-a4e31503633c3029cb6c526275bc34d471a3c0d4.tar.gz mana-a4e31503633c3029cb6c526275bc34d471a3c0d4.tar.bz2 mana-a4e31503633c3029cb6c526275bc34d471a3c0d4.tar.xz mana-a4e31503633c3029cb6c526275bc34d471a3c0d4.zip |
Some trivial documentation work. Fixes all Doxygen warnings.
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/being.h b/src/being.h index bfd01568..b87cacbe 100644 --- a/src/being.h +++ b/src/being.h @@ -146,7 +146,7 @@ class Being : public Sprite * Puts a damage bubble above this being for the specified amount * of time. * - * @param text The text that should appear. + * @param amount The amount of damage. * @param time The amount of time the text should stay in milliseconds. */ void setDamage(Sint16 amount, Uint32 time); @@ -160,7 +160,7 @@ class Being : public Sprite /** * Sets the name for the being. * - * @param text The name that should appear. + * @param name The name that should appear. */ void setName(const std::string &name) { mName = name; } @@ -223,19 +223,19 @@ class Being : public Sprite * Draws the speech text above the being. */ void - drawSpeech(Graphics *graphics, Sint32 offsetX, Sint32 offsetY); + drawSpeech(Graphics *graphics, int offsetX, int offsetY); /** * Draws the emotion picture above the being. */ void - drawEmotion(Graphics *graphics, Sint32 offsetX, Sint32 offsetY); + drawEmotion(Graphics *graphics, int offsetX, int offsetY); /** * Draws the name text below the being. */ virtual void - drawName(Graphics *graphics, Sint32 offsetX, Sint32 offsetY) {}; + drawName(Graphics *graphics, int offsetX, int offsetY) {}; /** * Returns the type of the being. @@ -315,7 +315,7 @@ class Being : public Sprite * @see Sprite::draw(Graphics, int, int) */ virtual void - draw(Graphics *graphics, Sint32 offsetX, Sint32 offsetY) const; + draw(Graphics *graphics, int offsetX, int offsetY) const; /** * Returns the pixel X coordinate. |