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) {
|
if (time > 1L && gameController.getActionsCount() > 7) {
|
||||||
when (currentDifficulty) {
|
when (currentDifficulty) {
|
||||||
Difficulty.Beginner -> {
|
Difficulty.Beginner -> {
|
||||||
playGamesManager.submitLeaderboard(Leaderboard.BestTimeBeginner, clock.time())
|
playGamesManager.submitLeaderboard(Leaderboard.BeginnerBestTime, clock.time())
|
||||||
}
|
}
|
||||||
Difficulty.Intermediate -> {
|
Difficulty.Intermediate -> {
|
||||||
playGamesManager.submitLeaderboard(Leaderboard.BestTimeIntermediate, clock.time())
|
playGamesManager.submitLeaderboard(Leaderboard.IntermediateBestTime, clock.time())
|
||||||
}
|
}
|
||||||
Difficulty.Expert -> {
|
Difficulty.Expert -> {
|
||||||
playGamesManager.submitLeaderboard(Leaderboard.BestTimeExpert, clock.time())
|
playGamesManager.submitLeaderboard(Leaderboard.ExpertBestTime, clock.time())
|
||||||
}
|
}
|
||||||
else -> {
|
else -> {
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,9 +19,9 @@ enum class Achievement(
|
||||||
enum class Leaderboard(
|
enum class Leaderboard(
|
||||||
val value: String
|
val value: String
|
||||||
) {
|
) {
|
||||||
BestTimeBeginner(""),
|
BeginnerBestTime(""),
|
||||||
BestTimeIntermediate(""),
|
IntermediateBestTime(""),
|
||||||
BestTimeExpert(""),
|
ExpertBestTime(""),
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IPlayGamesManager {
|
interface IPlayGamesManager {
|
||||||
|
|
Loading…
Reference in a new issue