Add: RoundRectButton icon
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user