Example #1
0
File: main.c Project: akerenyi/ess
void timerstep() {
	static unsigned long long counter = 0;
	counter++;
	int thistime = counter % 4;
	setL0(thistime == 0);
	setL1(thistime == 1);
	setL2(thistime == 2);
	setL3(thistime == 3);
}
Example #2
0
Comparison::Comparison (
           const QString &l1,
           const QString &l2,
           const QString &l3
          )
{
   setL1 (l1);
   setL2 (l2);
   setL3 (l3);
}
Example #3
0
void GameWindow::newGame(int level, int difficulty){
    newGame();
    if(difficulty==3)
        setDif3();
    else if(difficulty==2)
        setDif2();
    else
        setDif1();

    if(level==1){
        setL1();
        show();
    }
    else if(level==2){
        setL2();
        show();
    }
    else{
        setL3();
        show();
    }
   }