getLevelInt method
Implementation
int getLevelInt() {
switch (this) {
case CCorrectLevel.l:
return 0;
case CCorrectLevel.m:
return 1;
case CCorrectLevel.q:
return 2;
case CCorrectLevel.h:
return 3;
}
}
int getLevelInt() {
switch (this) {
case CCorrectLevel.l:
return 0;
case CCorrectLevel.m:
return 1;
case CCorrectLevel.q:
return 2;
case CCorrectLevel.h:
return 3;
}
}