summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/text.h b/src/text.h
index 67454e30..0de495e0 100644
--- a/src/text.h
+++ b/src/text.h
@@ -57,7 +57,7 @@ class Text
virtual void
draw(Graphics *graphics, int xOff, int yOff);
- private:
+ protected:
int mX; /**< Actual x-value of left of text written */
int mY; /**< Actual y-value of top of text written */
@@ -78,6 +78,11 @@ class FlashText : public Text
gcn::Color colour);
/**
+ * Remove the text from the screen
+ */
+ ~FlashText();
+
+ /**
* Flash the text for so many refreshes
*/
void flash(int time) {mTime = time; }