Add: AppInfoManager
This commit is contained in:
@@ -14,6 +14,7 @@ let MenuApp = {
|
||||
let backButton = new BackButton( () => {
|
||||
sessionStorage.removeItem("playerName");
|
||||
sessionStorage.removeItem("playerUserID");
|
||||
sessionStorage.removeItem("playingAppName");
|
||||
|
||||
location.href = '../../web/client/login.html';
|
||||
});
|
||||
@@ -24,6 +25,9 @@ let MenuApp = {
|
||||
// app icons
|
||||
let space_invaders = new AppButton(AppButton.TYPE_MOUSE, "icon_fullscreen",
|
||||
() => {
|
||||
sessionPlayingAppName = "space_invaders";
|
||||
sessionStorage.setItem("playingAppName", sessionPlayingAppName);
|
||||
|
||||
location.href = '../../web/client/start.html';
|
||||
}
|
||||
);
|
||||
@@ -41,7 +45,7 @@ let MenuApp = {
|
||||
let screenBottom = new ScreenBottom(game);
|
||||
screenBottom.makeBottomLine();
|
||||
// screenBottom.printBottomLeftText("게임 진행 정보");
|
||||
screenBottom.printBottomCenterText("메뉴");
|
||||
screenBottom.printBottomCenterText(appInfoManager.getAppNameKorean(sessionPlayingAppName));
|
||||
screenBottom.printBottomRightText(sessionPlayerName);
|
||||
|
||||
// this.loadTypingStageData();
|
||||
|
||||
Reference in New Issue
Block a user