Пример #1
0
void HelloWorld::startGame(){
    linesCount = 0;
    showEnd = false;
    timerRunning = false;
    
    addStartLine();
    addNormalLine(1);
    addNormalLine(2);
    addNormalLine(3);
}
void HelloWorld::startGame(){
    //init
    stopTimer();
    linesCount = 0;
    showEnd = false;
    timerRunning = false;
    currentEndLine = NULL;
    timerLabel->setString("0.000000");
    
    //try to clear
    Block::removeAllBlocks();
    
    addStartLine();
    addNormalLine(1);
    addNormalLine(2);
    addNormalLine(3);
}