Name: Anonymous 2011-07-04 15:02
boolean stop = false;
for (int i=0; i <4; i++){
if(stop== true){
break;
}else if(i==1){
//do shit
}else if (i==2){
//do shit different
}else if(i==3){
//do third shit
}
onActionDown(){
stop = true;
}
This isn't stopping the loop. Why /prog/, why?
for (int i=0; i <4; i++){
if(stop== true){
break;
}else if(i==1){
//do shit
}else if (i==2){
//do shit different
}else if(i==3){
//do third shit
}
onActionDown(){
stop = true;
}
This isn't stopping the loop. Why /prog/, why?