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); + }, + }