Fix: remove AppInfoManager

This commit is contained in:
2018-06-05 14:33:04 +09:00
parent 1bcce524e3
commit 5f53360871
4 changed files with 4 additions and 7 deletions
-2
View File
@@ -342,8 +342,6 @@ class DBConnectManager {
xhr.onreadystatechange = function() {
if(xhr.readyState == 4 && xhr.status == 200) {
let replyJSON = JSON.parse(xhr.responseText);
console.log(replyJSON);
console.log(replyJSON["HowToPlay"]);
if(replyJSON != null && replyJSON["HowToPlay"] != null)
onSucceededListener(replyJSON);
+2 -1
View File
@@ -66,7 +66,7 @@ class MenuApp {
() => {
sessionStorageManager.playingAppID = app.AppID;
sessionStorageManager.playingAppName = app.AppName;
sessionStorageManager.playingAppKoreanName = app.AppKoreanName;
sessionStorageManager.playingAppKoreanName = app.KoreanName;
location.href = '../../web/client/start.html';
}
);
@@ -109,6 +109,7 @@ class MenuApp {
() => {
sessionStorageManager.playingAppID = app.AppID;
sessionStorageManager.playingAppName = app.AppName;
sessionStorageManager.playingAppKoreanName = app.KoreanName;
location.href = '../../web/client/start.html';
}
);
+1 -2
View File
@@ -57,8 +57,7 @@ class Game {
screenBottom.makeBottomLine();
let highScore = NumberUtil.numberWithCommas(scoreManager.getHighScore());
screenBottom.printBottomLeftText("최고 기록 : " + highScore);
let playingAppName = appInfoManager.getAppNameKorean(sessionStorageManager.playingAppName);
screenBottom.printBottomCenterText(playingAppName);
screenBottom.printBottomCenterText(sessionStorageManager.playingAppKoreanName);
screenBottom.printBottomRightText(sessionStorageManager.playerName);
+1 -2
View File
@@ -33,8 +33,7 @@ class Result {
let screenBottom = new ScreenBottom();
screenBottom.makeBottomLine();
screenBottom.printBottomLeftText("게임 진행 정보");
let playingAppName = appInfoManager.getAppNameKorean(sessionStorageManager.playingAppName);
screenBottom.printBottomCenterText(playingAppName);
screenBottom.printBottomCenterText(sessionStorageManager.playingAppKoreanName);
screenBottom.printBottomRightText(sessionStorageManager.playerName);
}