Rename Leaderboards
This commit is contained in:
parent
4428a783bb
commit
f39ef87666
2 changed files with 6 additions and 6 deletions
|
@ -438,13 +438,13 @@ class GameViewModel(
|
|||
if (time > 1L && gameController.getActionsCount() > 7) {
|
||||
when (currentDifficulty) {
|
||||
Difficulty.Beginner -> {
|
||||
playGamesManager.submitLeaderboard(Leaderboard.BestTimeBeginner, clock.time())
|
||||
playGamesManager.submitLeaderboard(Leaderboard.BeginnerBestTime, clock.time())
|
||||
}
|
||||
Difficulty.Intermediate -> {
|
||||
playGamesManager.submitLeaderboard(Leaderboard.BestTimeIntermediate, clock.time())
|
||||
playGamesManager.submitLeaderboard(Leaderboard.IntermediateBestTime, clock.time())
|
||||
}
|
||||
Difficulty.Expert -> {
|
||||
playGamesManager.submitLeaderboard(Leaderboard.BestTimeExpert, clock.time())
|
||||
playGamesManager.submitLeaderboard(Leaderboard.ExpertBestTime, clock.time())
|
||||
}
|
||||
else -> {
|
||||
}
|
||||
|
|
|
@ -19,9 +19,9 @@ enum class Achievement(
|
|||
enum class Leaderboard(
|
||||
val value: String
|
||||
) {
|
||||
BestTimeBeginner(""),
|
||||
BestTimeIntermediate(""),
|
||||
BestTimeExpert(""),
|
||||
BeginnerBestTime(""),
|
||||
IntermediateBestTime(""),
|
||||
ExpertBestTime(""),
|
||||
}
|
||||
|
||||
interface IPlayGamesManager {
|
||||
|
|
Loading…
Reference in a new issue