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