Fix: addRecord, addHighestRecord method name

This commit is contained in:
2019-07-17 09:34:50 +09:00
parent 8268852c9d
commit 200b4a7fe7
2 changed files with 5 additions and 11 deletions
+3 -9
View File
@@ -14,11 +14,10 @@ var TypingExamination = {
// sessionStorageManager.setPlayingAppKoreanName("타자 검정");
// sessionStorageManager.setRecord(0);
// sessionStorageManager.setAppHighestRecord(100.123);
sessionStorageManager.setPlayingAppName("typing_examination_korean");
sessionStorageManager.setPlayingAppName("typing_examination");
sessionStorageManager.setPlayingAppKoreanName("타자 검정");
// this.dbConnectManager = new DBConnectManager();
this.dbService = new DBService();
this.dbService.setMaestroID(sessionStorageManager.getMaestroID());
this.dbService.setPlayerID(sessionStorageManager.getPlayerID());
@@ -37,16 +36,14 @@ var TypingExamination = {
game.stage.backgroundColor = TypingExamination.STAGE_BACKGROUND_COLOR;
/*
// keyboard shortcut - useless. this.keyboard is chargning for ESC event
this.keyboardShortcut = new KeyboardShortcut();
this.keyboardShortcut.addCallback(
Phaser.KeyCode.ESC, // keyCode
null, // keyDownHandler
(function() { this.back(); }).bind(this), // keyUpHandler
"keyboard_test" // callerClassName
"typing_examination" // callerClassName
);
*/
// top ui
var screenTopUI = new ScreenTopUI();
@@ -55,7 +52,6 @@ var TypingExamination = {
this.averageTypingSpeedText = new AverageTypingSpeed();
// this.contentProgressText = new ContentProgress();
@@ -304,7 +300,7 @@ var TypingExamination = {
if(!isExperienceMaestroAccount())
this.updateResultRecord();
// game.time.events.add(Phaser.Timer.SECOND * 2, this.goResult, this);
game.time.events.add(Phaser.Timer.SECOND * 2, this.goResult, this);
},
updateResultRecord: function() {
@@ -589,8 +585,6 @@ var TypingExamination = {
},
showPlayingWordNumber: function() {
// this.contentProgressText.print(this.typingIndex + 1, this.typingContentLength);
var currentLine = this.typingIndex + 1;
this.textTypingLine.text = currentLine + " / " + this.typingContentLength;
},