Fix: bottom info line
This commit is contained in:
@@ -30,13 +30,16 @@ var LicenseTimer = {
|
|||||||
// bottom ui
|
// bottom ui
|
||||||
this.screenBottomUI = new ScreenBottomUI();
|
this.screenBottomUI = new ScreenBottomUI();
|
||||||
// this.screenBottomUI.printLeftText();
|
// this.screenBottomUI.printLeftText();
|
||||||
this.screenBottomUI.printCenterText("점수 등록은 선생님에게 부탁하세요.");
|
this.printSubject();
|
||||||
|
this.printRecentScore(this.recentRecord);
|
||||||
|
// this.screenBottomUI.printCenterText("점수 등록은 선생님에게 부탁하세요.");
|
||||||
this.screenBottomUI.printRightText(sessionStorageManager.getPlayerName());
|
this.screenBottomUI.printRightText(sessionStorageManager.getPlayerName());
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
initVariables: function() {
|
initVariables: function() {
|
||||||
this.subject = "ITQ 파워포인트";
|
this.subject = "ITQ 파워포인트";
|
||||||
|
this.recentRecord = 500;
|
||||||
|
|
||||||
this.prevTime = null;
|
this.prevTime = null;
|
||||||
|
|
||||||
@@ -291,6 +294,15 @@ var LicenseTimer = {
|
|||||||
+ ":" + this.getTwoDigitNumber(this.timeLeftSecond);
|
+ ":" + 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);
|
||||||
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user