Add: AppInfoManager

This commit is contained in:
2018-05-09 10:08:09 +09:00
parent 024e114077
commit f44cabcb01
13 changed files with 124 additions and 16 deletions
+37
View File
@@ -0,0 +1,37 @@
const LANGUAGE_KOREAN = "korean";
const LANGUAGE_ENGLISH = "english";
const MODE_RELEASE = "release";
const MODE_DEBUG = "debug";
const runMode = MODE_DEBUG;
function isDebugMode() {
// console.log("debug mode ? " + runMode);
return runMode == MODE_DEBUG ? true : false;
}
function isReleaseMode() {
// console.log("release mode ? " + runMode);
return runMode == MODE_RELEASE ? true : false;
}
const GAME_SCREEN_SIZE = { x: 1024, y: 768 }
let sessingPlayerName;
let sessionPlayerUserID;
let sessionPlayingAppName;
{
sessionPlayerName = sessionStorage.getItem("playerName");
console.log("playerName : " + sessionPlayerName);
sessionPlayerUserID = sessionStorage.getItem("playerUserID");
console.log("playerUserID : " + sessionPlayerUserID);
sessionPlayingAppName = sessionStorage.getItem("playingAppName");
console.log("sessionPlayingAppName : " + sessionPlayingAppName);
}
let appInfoManager = new AppInfoManager();
let textStyleBasic = { font: "bold 32px Arial", fill: "#fff", align: "center", boundsAlignH: "center", boundsAlignV: "middle" };