Example #1
0
 public void know(View v) {
   if (knoww.getAlpha() == 0) return;
   words[position].stat = Math.max(20, words[position].stat - 4);
   words[position].reg = Math.min(10, words[position].reg + 1);
   update();
   nextWord();
 }
Example #2
0
 public void dontknow(View v) {
   if (knoww.getAlpha() == 0) return;
   words[position].stat = Math.min(80, words[position].stat + 4);
   words[position].reg = Math.max(0, words[position].reg - 1);
   update();
   nextWord();
 }