summaryrefslogtreecommitdiff
path: root/src/textparticle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/textparticle.h')
-rw-r--r--src/textparticle.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/textparticle.h b/src/textparticle.h
index 3f3ca0ec..75e1f8b1 100644
--- a/src/textparticle.h
+++ b/src/textparticle.h
@@ -34,7 +34,7 @@ class TextParticle : public Particle
{
public:
TextParticle(Map *map, const std::string &text, gcn::Font *font,
- gcn::Color color);
+ int colorR, int colorG, int colorB);
/**
* Draws the particle image
*/
@@ -45,9 +45,9 @@ class TextParticle : public Particle
virtual int getPixelY() const { return (int)(mPosY + mPosZ); }
private:
- std::string mText; /** Text of the particle */
- gcn::Font *mTextFont; /** Font used for drawing the text */
- gcn::Color mTextColor; /** Color used for drawing the text */
+ std::string mText; /**< Text of the particle */
+ gcn::Font *mTextFont; /**< Font used for drawing the text */
+ int mColorR, mColorG, mColorB; /**< Color used for drawing the text */
};
#endif