Example #1
0
  @Override
  protected void onEndMode() {
    int hiScore = Settings.getInteger(R.settings.hiscores.fullchallenge, 0);
    int score = foundInfo.getFound();
    if (score > hiScore) Settings.putInteger(R.settings.hiscores.fullchallenge, score);

    setResultText(
        String.format(
            Ichigu.getString(R.strings.fullChallengeResult),
            foundInfo.getText(),
            (score > hiScore ? Ichigu.getString(R.strings.newHiscore) : "")));

    super.onEndMode();
  }
Example #2
0
 @Override
 protected void onDraw() {
   drawScore();
   super.onDraw();
 }
Example #3
0
 @Override
 protected void onOpenExtraCards() {
   if (timer.getRemaining() > 10) super.onOpenExtraCards();
   else flashTimerText();
 }
Example #4
0
 @Override
 protected void onStartMode() {
   super.onStartMode();
   foundInfo.reset();
 }