QString name;
QString currentLine;
QLabel* theLabel;
+ bool modifyable;
public:
Player(QWidget* parent);
- void handleKey(QString);
+ bool handleKey(QString); /* returns whether a char was added */
+ void resetText();
+ bool hasName();
+ QString getName();
+ QString getCurrentLine();
+ void setWaiting(QString labeltext);
+
+ int score;
};
#endif // PLAYER_H