diff --git a/src/game/license_timer/chart.js b/src/game/license_timer/chart.js index d4afc99..e7a6c93 100644 --- a/src/game/license_timer/chart.js +++ b/src/game/license_timer/chart.js @@ -24,6 +24,7 @@ Chart.prototype.printChartBaseLine = function() { this.chartGraphics.lineTo(game.world.width - Chart.CHART_LINE_START_X, Chart.CHART_LINE_Y); } +/* Chart.prototype.drawRecordGraph = function(index, date, bestRecord, min, max) { var reverseIndex = (Chart.CHART_COUNT - 1) - index; var posX = Chart.CHART_LINE_START_X + Chart.CHART_GRAPH_OFFSET_X + reverseIndex * Chart.CHART_GAP_PX; @@ -48,6 +49,7 @@ Chart.prototype.drawRecordGraph = function(index, date, bestRecord, min, max) { this.chartGraphics.moveTo(posX, posY); this.chartGraphics.lineTo(posX, posY - Chart.CHART_HEIGHT * ( (bestRecord - min) / (max - min) )); } +*/ Chart.drawText = function(posX, posY, text, fontStyle) { var textObject = game.add.text( @@ -106,7 +108,7 @@ ChartRecord.prototype.printDate = function(date) { } ChartRecord.prototype.printScore = function(score) { - this.score.text = score; + this.score.text = RecordUtil.getRecordValueWithUnit(score, sessionStorageManager.getPlayingAppID()); } ChartRecord.prototype.printGrade = function(grade) {