From f2dba51be00b6c67b6d1b8924cac8019a3bcd000 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 May 2015 21:39:10 +0300 Subject: Add strong typed bool type Move. --- src/text.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/text.h') 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. -- cgit v1.2.3-70-g09d2