@FunctionalInterface
public static interface ScoreTracker.ScoreCalculator
Modifier and Type | Method and Description |
---|---|
int |
calculateScore(long timeTaken,
int incorrectAccusations,
int askedQuestions,
int cluesFound)
Calculate the score with the given values.
|
int calculateScore(long timeTaken, int incorrectAccusations, int askedQuestions, int cluesFound)
timeTake
- The time taken so far in the game in milliseconds.incorrectAccusations
- The number of incorrect accusations made so far.askedQuestions
- The number of questions asked so far.cluesFound
- The number of clues found so far.