X-Git-Url: https://git.ralfj.de/multypo.git/blobdiff_plain/036922ba5e90ae7f6f6abe3f99b1783dec5132fc..e52cebeda021cf4e76330eabd3777ec6136720d3:/qt/multypo.h?ds=sidebyside diff --git a/qt/multypo.h b/qt/multypo.h index de0898f..1a088bd 100644 --- a/qt/multypo.h +++ b/qt/multypo.h @@ -3,6 +3,7 @@ #include #include +#include #include "player.h" @@ -18,13 +19,17 @@ public: private: void handleKeyPress(int device, QString string); + void nextWord(); + void resetPlayerText(); private: bool xiInited; int xiOpcode; + bool gameStarted; QLabel *mainLabel; - + QFile words; QMap players; + int typingPlayers; // how many are not ready yet }; #endif // MULTIKBD_H