Add: SessionStorageManager

This commit is contained in:
2018-05-09 11:02:42 +09:00
parent f44cabcb01
commit 4b58ceb305
12 changed files with 113 additions and 39 deletions
+4 -10
View File
@@ -19,19 +19,13 @@ function isReleaseMode() {
const GAME_SCREEN_SIZE = { x: 1024, y: 768 }
let sessingPlayerName;
let sessionPlayerUserID;
let sessionPlayingAppName;
let sessionStorageManager = new SessionStorageManager();
{
sessionPlayerName = sessionStorage.getItem("playerName");
console.log("playerName : " + sessionPlayerName);
sessionPlayerUserID = sessionStorage.getItem("playerUserID");
console.log("playerUserID : " + sessionPlayerUserID);
sessionPlayingAppName = sessionStorage.getItem("playingAppName");
console.log("sessionPlayingAppName : " + sessionPlayingAppName);
console.log("playerName : " + sessionStorageManager.playerName);
console.log("playerUserID : " + sessionStorageManager.playerUserID);
console.log("playingAppName : " + sessionStorageManager.playingAppName);
}
let appInfoManager = new AppInfoManager();
let textStyleBasic = { font: "bold 32px Arial", fill: "#fff", align: "center", boundsAlignH: "center", boundsAlignV: "middle" };