From 167e41c3c4fd1a639d7289b32cff180a9d948900 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8B=E1=85=A2=E1=84=91=E1=85=B3=E1=86=AF=20=E1=84=82?= =?UTF-8?q?=E1=85=A9=E1=84=90=E1=85=B3=E1=84=87=E1=85=AE=E1=86=A8?= Date: Sat, 8 Dec 2018 15:46:28 +0900 Subject: [PATCH] Fix: bottom info line --- src/game/license_timer/game.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/game/license_timer/game.js b/src/game/license_timer/game.js index 810334d..1f4ac71 100644 --- a/src/game/license_timer/game.js +++ b/src/game/license_timer/game.js @@ -30,13 +30,16 @@ var LicenseTimer = { // bottom ui this.screenBottomUI = new ScreenBottomUI(); // this.screenBottomUI.printLeftText(); - this.screenBottomUI.printCenterText("점수 등록은 선생님에게 부탁하세요."); + this.printSubject(); + this.printRecentScore(this.recentRecord); + // this.screenBottomUI.printCenterText("점수 등록은 선생님에게 부탁하세요."); this.screenBottomUI.printRightText(sessionStorageManager.getPlayerName()); }, initVariables: function() { this.subject = "ITQ 파워포인트"; + this.recentRecord = 500; this.prevTime = null; @@ -291,6 +294,15 @@ var LicenseTimer = { + ":" + this.getTwoDigitNumber(this.timeLeftSecond); }, + printSubject: function() { + this.screenBottomUI.printLeftText("과목 : " + this.subject); + }, + + printRecentScore: function(record) { + var recentRecord = RecordUtil.getRecordValueWithUnit(record, sessionStorageManager.getPlayingAppID()); + this.screenBottomUI.printCenterText("최근 점수 : " + recentRecord); + }, + }