Add: RoundRectButton icon

This commit is contained in:
2018-05-07 17:12:52 +09:00
parent 3634e2bf01
commit 83a3a85e75
7 changed files with 84 additions and 1 deletions
+10 -1
View File
@@ -3,16 +3,25 @@
let MenuApp = {
preload: function() {
game.load.image('icon_fullscreen', '../../../resources/image/icon/fullscreen_white.png');
},
create: function() {
this.game.stage.backgroundColor = '#4d4d4d';
let backButton = new BackButton( () => {
sessionStorage.removeItem("playerName");
sessionStorage.removeItem("playerUserID");
location.href = '../../web/client/login.html';
});
let fullscreenButton = new FullscreenButton(this.game);
let screenBottom = new ScreenBottom(game);
screenBottom.makeBottomLine();
screenBottom.printBottomLeftText("게임 진행 정보");
// screenBottom.printBottomLeftText("게임 진행 정보");
screenBottom.printBottomCenterText("메뉴");
screenBottom.printBottomRightText(playerName);