diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-27 21:39:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-27 21:39:10 +0300 |
commit | f2dba51be00b6c67b6d1b8924cac8019a3bcd000 (patch) | |
tree | bc40b96606b74c80e60fb21064b1e8883dee2db6 /src/text.h | |
parent | 420664f4025b261674e0cdea503d43fb95beae38 (diff) | |
download | mv-f2dba51be00b6c67b6d1b8924cac8019a3bcd000.tar.gz mv-f2dba51be00b6c67b6d1b8924cac8019a3bcd000.tar.bz2 mv-f2dba51be00b6c67b6d1b8924cac8019a3bcd000.tar.xz mv-f2dba51be00b6c67b6d1b8924cac8019a3bcd000.zip |
Add strong typed bool type Move.
Diffstat (limited to 'src/text.h')
-rw-r--r-- | src/text.h | 3 |
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. |