private:
void initiateLevel();
+ void readSavedGames();
+ void writeSavedGames();
+ void readLevelCollections(QStringList collections);
GameController* gameController; // Not owned
QWidget* levelWidget; // Not owned
QLabel* levelLabel; // Not owned
QLabel* scoreLabel; // Not owned
- QStringList levelCollections;
+ QString curColl;
QStringList levels;
int level;
int totalScore;
+ QHash<QString, int> savedGames; // level collection -> next level ix
+ QHash<QString, QStringList> levelCollections; // level collection -> level names
};
#endif