name input and game start works
[multypo.git] / qt / multypo.h
index de0898fd530fa335bbe2804359671cc247d21535..9220df841240d0602427d1b481e551b079aede51 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <QWidget>
 #include <QMap>
+#include <QFile>
 
 #include "player.h"
 
@@ -18,12 +19,15 @@ public:
 
 private:
        void handleKeyPress(int device, QString string);
+       void nextWord();
+       void resetPlayerText();
 
 private:
        bool xiInited;
        int xiOpcode;
+       bool gameStarted;
        QLabel *mainLabel;
-
+       QFile words;
        QMap<int, Player*> players;
 };