connect(startButton, SIGNAL(clicked()), this, SLOT(onStartClicked()));
connect(gameController, SIGNAL(levelPassed(int)), this, SLOT(onLevelPassed(int)));
connect(gameController, SIGNAL(levelFailed()), this, SLOT(onLevelFailed()));
- startTitle->setText("Starting a new game.");
- scoreLabel->setText("0");
chooseLevelCollection();
}
level = 0;
totalScore = 0;
+ startTitle->setText("Starting a new game.");
+ scoreLabel->setText("0");
initiateLevel();
}