diff --git a/source/code/TextManager.hpp b/source/code/TextManager.hpp index 7e34fa8..18d3ed3 100644 --- a/source/code/TextManager.hpp +++ b/source/code/TextManager.hpp @@ -34,7 +34,8 @@ private: unsigned long int time = 0; unsigned long int placeTime = 0; //Then the text was placed public: - + bool inUse = false; + TextMessage() { } @@ -69,33 +70,29 @@ class TextManager { public: static const int maxNumberOfTexts = 6*12*2*2; TextMessage textArray[maxNumberOfTexts]; - bool textUsed[maxNumberOfTexts]; TextManager() { - for (int i=0; i