Fix: change score -> record, bestRecord

This commit is contained in:
2018-05-29 20:35:38 +09:00
parent 089a7d0b5c
commit f1cab7de3f
11 changed files with 68 additions and 64 deletions
+3 -3
View File
@@ -114,10 +114,10 @@ class RankingBoard {
.setTextBounds(0, 0, 60, 60)
.setShadow(3, 3, 'rgba(0, 0, 0, 0.5)', 2);
// score
let score = StringUtil.getScoreTextWithoutUnit(data.score);
// bestRecord
let bestRecord = StringUtil.getRecordTextWithoutUnit(data.bestRecord);
style.boundsAlignH = "right";
game.add.text(this.getPosX(type) + 120, this.getPosY(index), score, style)
game.add.text(this.getPosX(type) + 120, this.getPosY(index), bestRecord, style)
.setTextBounds(0, 0, 80, 60)
.setShadow(3, 3, 'rgba(0, 0, 0, 0.5)', 2);
}