still test menu, still to test
parent
d06b553f15
commit
f535fbdbef
|
@ -54,7 +54,7 @@ void TestMenu :: testMenu(){
|
||||||
do{
|
do{
|
||||||
switch(testNum){
|
switch(testNum){
|
||||||
case '0':
|
case '0':
|
||||||
DEBUG.println("Exiting test menu, play good ;)");
|
DEBUG.println("Exiting test menu, may the odds be in your favor c:");
|
||||||
flagtest = false;
|
flagtest = false;
|
||||||
return;
|
return;
|
||||||
break;
|
break;
|
||||||
|
@ -89,16 +89,18 @@ void TestMenu :: testMenu(){
|
||||||
currentRole = DEBUG.read();
|
currentRole = DEBUG.read();
|
||||||
switch(currentRole){
|
switch(currentRole){
|
||||||
case '1':
|
case '1':
|
||||||
((LineSysCamera*)goalie->ls)->test();
|
(goalie->ls)->test();
|
||||||
break;
|
break;
|
||||||
case '2':
|
case '2':
|
||||||
((LineSysCamera*)keeper->ls)->test();
|
(keeper->ls)->test();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
DEBUG.println("INVALID ROLE");
|
DEBUG.println("INVALID ROLE");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
} while (DEBUG.available() == 0);
|
} while (DEBUG.available() == 0);
|
||||||
}
|
}
|
Loading…
Reference in New Issue