BasicSamples/TypeANumber/src/main/java/com/google/example/games/tanc/MainActivity.java
/**
     * Update leaderboards with the user's score.
     *
     * @param finalScore The score the user got.
     */
Update leaderboards with the user's score.
@param finalScore The score the user got.
Update leaderboards with the user ' s score . @param finalScore The score the user got .
void updateLeaderboards(int finalScore) {
        if (mHardMode && mOutbox.mHardModeScore < finalScore) {
            mOutbox.mHardModeScore = finalScore;
        } else if (!mHardMode && mOutbox.mEasyModeScore < finalScore) {
            mOutbox.mEasyModeScore = finalScore;
        }
    }
void updateLeaderboards ( int finalScore ) { if ( mHardMode && mOutbox . mHardModeScore < finalScore ) { mOutbox . mHardModeScore = finalScore ; } else if ( ! mHardMode && mOutbox . mEasyModeScore < finalScore ) { mOutbox . mEasyModeScore = finalScore ; } }
Update leaderboards with the user's score.
Update leaderboards with the user ' s score .