Add: BackButton
This commit is contained in:
@@ -6,9 +6,13 @@ let MenuApp = {
|
||||
create: function() {
|
||||
this.game.stage.backgroundColor = '#4d4d4d';
|
||||
|
||||
let backButton = new BackButton( () => {
|
||||
location.href = '../../web/client/login.html';
|
||||
});
|
||||
|
||||
let screenBottom = new ScreenBottom(game);
|
||||
screenBottom.makeBottomLine();
|
||||
screenBottom.printBottomLeftText(playerName);
|
||||
screenBottom.printBottomLeftText("게임 진행 정보");
|
||||
screenBottom.printBottomCenterText("메뉴");
|
||||
screenBottom.printBottomRightText(playerName);
|
||||
|
||||
@@ -81,8 +85,8 @@ let MenuApp = {
|
||||
|
||||
playingStageData = new StageData(language, level);
|
||||
// console.log(playingStageData);
|
||||
|
||||
|
||||
this.startState('TypingTestStage');
|
||||
}
|
||||
},
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user