Fix: remove AppInfoManager
This commit is contained in:
@@ -342,8 +342,6 @@ class DBConnectManager {
|
|||||||
xhr.onreadystatechange = function() {
|
xhr.onreadystatechange = function() {
|
||||||
if(xhr.readyState == 4 && xhr.status == 200) {
|
if(xhr.readyState == 4 && xhr.status == 200) {
|
||||||
let replyJSON = JSON.parse(xhr.responseText);
|
let replyJSON = JSON.parse(xhr.responseText);
|
||||||
console.log(replyJSON);
|
|
||||||
console.log(replyJSON["HowToPlay"]);
|
|
||||||
|
|
||||||
if(replyJSON != null && replyJSON["HowToPlay"] != null)
|
if(replyJSON != null && replyJSON["HowToPlay"] != null)
|
||||||
onSucceededListener(replyJSON);
|
onSucceededListener(replyJSON);
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ class MenuApp {
|
|||||||
() => {
|
() => {
|
||||||
sessionStorageManager.playingAppID = app.AppID;
|
sessionStorageManager.playingAppID = app.AppID;
|
||||||
sessionStorageManager.playingAppName = app.AppName;
|
sessionStorageManager.playingAppName = app.AppName;
|
||||||
sessionStorageManager.playingAppKoreanName = app.AppKoreanName;
|
sessionStorageManager.playingAppKoreanName = app.KoreanName;
|
||||||
location.href = '../../web/client/start.html';
|
location.href = '../../web/client/start.html';
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
@@ -109,6 +109,7 @@ class MenuApp {
|
|||||||
() => {
|
() => {
|
||||||
sessionStorageManager.playingAppID = app.AppID;
|
sessionStorageManager.playingAppID = app.AppID;
|
||||||
sessionStorageManager.playingAppName = app.AppName;
|
sessionStorageManager.playingAppName = app.AppName;
|
||||||
|
sessionStorageManager.playingAppKoreanName = app.KoreanName;
|
||||||
location.href = '../../web/client/start.html';
|
location.href = '../../web/client/start.html';
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -57,8 +57,7 @@ class Game {
|
|||||||
screenBottom.makeBottomLine();
|
screenBottom.makeBottomLine();
|
||||||
let highScore = NumberUtil.numberWithCommas(scoreManager.getHighScore());
|
let highScore = NumberUtil.numberWithCommas(scoreManager.getHighScore());
|
||||||
screenBottom.printBottomLeftText("최고 기록 : " + highScore);
|
screenBottom.printBottomLeftText("최고 기록 : " + highScore);
|
||||||
let playingAppName = appInfoManager.getAppNameKorean(sessionStorageManager.playingAppName);
|
screenBottom.printBottomCenterText(sessionStorageManager.playingAppKoreanName);
|
||||||
screenBottom.printBottomCenterText(playingAppName);
|
|
||||||
screenBottom.printBottomRightText(sessionStorageManager.playerName);
|
screenBottom.printBottomRightText(sessionStorageManager.playerName);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -33,8 +33,7 @@ class Result {
|
|||||||
let screenBottom = new ScreenBottom();
|
let screenBottom = new ScreenBottom();
|
||||||
screenBottom.makeBottomLine();
|
screenBottom.makeBottomLine();
|
||||||
screenBottom.printBottomLeftText("게임 진행 정보");
|
screenBottom.printBottomLeftText("게임 진행 정보");
|
||||||
let playingAppName = appInfoManager.getAppNameKorean(sessionStorageManager.playingAppName);
|
screenBottom.printBottomCenterText(sessionStorageManager.playingAppKoreanName);
|
||||||
screenBottom.printBottomCenterText(playingAppName);
|
|
||||||
screenBottom.printBottomRightText(sessionStorageManager.playerName);
|
screenBottom.printBottomRightText(sessionStorageManager.playerName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user