Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(!typ){
- if(sekunda == 2)
- {
- ResetujSwiatla();
- RysujKolo(sCzerwone, clRed, clWhite);
- RysujStrzalke(sStrzalka);
- }
- else if(sekunda == 11)
- {
- ResetujSwiatla();
- RysujKolo(sCzerwone, clRed, clWhite);
- RysujKolo(sZolte, clYellow, clWhite);
- }
- else if(sekunda == 12)
- {
- ResetujSwiatla();
- RysujKolo(sZielone, clGreen, clWhite);
- }
- else if(sekunda == 20)
- {
- ResetujSwiatla();
- RysujKolo(sZolte, clYellow, clWhite);
- }
- else if(sekunda == 21)
- {
- ResetujSwiatla();
- RysujKolo(sCzerwone, clRed, clWhite);
- RysujStrzalke(sStrzalka);
- sekunda = 0;
- }
- }
- else
- {
- if(sekunda%2 == 0)
- {
- ResetujSwiatla();
- RysujKolo(sZolte, clYellow, clWhite);
- }
- else
- {
- ResetujSwiatla();
- }
- }
- sekunda+=1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement