works now, only game over screen missing
[multypo.git] / qt / player.h
index f7250699e30f7c847d3d9fe14462e7d04a01daed..7b782839457f777f03543d7702965ae2a3db6443 100644 (file)
@@ -10,9 +10,16 @@ private:
        QString name;
        QString currentLine;
        QLabel* theLabel;
        QString name;
        QString currentLine;
        QLabel* theLabel;
+       bool modifyable;
 public:
        Player(QWidget* parent);
        void handleKey(QString);
 public:
        Player(QWidget* parent);
        void handleKey(QString);
+       void resetText();
+       bool hasName();
+       QString getName();
+       QString getCurrentLine();
+       int score;
+       void setWaiting(QString labeltext);
 };
 
 #endif // PLAYER_H
 };
 
 #endif // PLAYER_H