summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-27 21:39:10 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-27 21:39:10 +0300
commitf2dba51be00b6c67b6d1b8924cac8019a3bcd000 (patch)
treebc40b96606b74c80e60fb21064b1e8883dee2db6 /src/text.h
parent420664f4025b261674e0cdea503d43fb95beae38 (diff)
downloadplus-f2dba51be00b6c67b6d1b8924cac8019a3bcd000.tar.gz
plus-f2dba51be00b6c67b6d1b8924cac8019a3bcd000.tar.bz2
plus-f2dba51be00b6c67b6d1b8924cac8019a3bcd000.tar.xz
plus-f2dba51be00b6c67b6d1b8924cac8019a3bcd000.zip
Add strong typed bool type Move.
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/text.h b/src/text.h
index 916de924e..fc9b0f08c 100644
--- a/src/text.h
+++ b/src/text.h
@@ -24,6 +24,7 @@
#ifndef TEXT_H
#define TEXT_H
+#include "enums/simpletypes/move.h"
#include "enums/simpletypes/speech.h"
#include "gui/fonts/textchunk.h"
@@ -67,7 +68,7 @@ class Text notfinal
/**
* Allows the originator of the text to specify the ideal coordinates.
*/
- void adviseXY(const int x, const int y, const bool move);
+ void adviseXY(const int x, const int y, const Move move);
/**
* Draws the text.