Fix: remove AppInfoManager
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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';
|
||||
}
|
||||
);
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user