Fix: update file name tag, print sample ranking

This commit is contained in:
2019-06-12 08:32:50 +09:00
parent 976dc1a4ac
commit 9ecb633996
5 changed files with 53 additions and 20 deletions
+4 -5
View File
@@ -1,9 +1,4 @@
function HistoryBoard(dataType) {
if(dataType === RecordBoard.TYPE_SAMPLE) {
this.printSample();
return;
}
var rankingTextOffsetY = game.world.height / 2 + 105;
this.historyTexts = new Array();
for(var i = 0; i < RankingBoard.RANK_COUNT; i++) {
@@ -11,6 +6,10 @@ function HistoryBoard(dataType) {
this.historyTexts[i] = new HistoryText(80, posY);
}
if(dataType === RecordBoard.TYPE_SAMPLE) {
this.printSample();
return;
}
this.todayBestRecord = 0;