Fix: screen top ui, screen bottom ui
This commit is contained in:
@@ -16,8 +16,9 @@ class Result {
|
||||
this.chartGraphics = game.add.graphics(100, game.world.height - 120);
|
||||
|
||||
|
||||
// top
|
||||
let backButton = new BackButton( () => {
|
||||
// top ui
|
||||
let screenTopUI = new ScreenTopUI();
|
||||
screenTopUI.makeBackButton( () => {
|
||||
if(isTypingPracticeStage())
|
||||
location.href = '../../web/client/menu_typing_practice.html';
|
||||
else if(isTypingTestStage())
|
||||
@@ -27,8 +28,7 @@ class Result {
|
||||
|
||||
sessionStorageManager.resetPlayingAppData();
|
||||
});
|
||||
|
||||
let fullscreenButton = new FullscreenButton(this.game);
|
||||
screenTopUI.makeFullScreenButton();
|
||||
|
||||
|
||||
// contents
|
||||
@@ -45,11 +45,11 @@ class Result {
|
||||
let recordBoard = new RecordBoard(RecordBoard.TYPE_DB);
|
||||
}
|
||||
|
||||
// bottom
|
||||
let screenBottom = new ScreenBottom();
|
||||
screenBottom.printBottomLeftTextWithBestRecord(Math.floor(sessionStorageManager.bestRecord));
|
||||
screenBottom.printBottomCenterText(sessionStorageManager.playingAppKoreanName);
|
||||
screenBottom.printBottomRightText(sessionStorageManager.playerName);
|
||||
// bottom ui
|
||||
let screenBottomUI = new ScreenBottomUI();
|
||||
screenBottomUI.printLeftTextWithBestRecord(Math.floor(sessionStorageManager.bestRecord));
|
||||
screenBottomUI.printCenterText(sessionStorageManager.playingAppKoreanName);
|
||||
screenBottomUI.printRightText(sessionStorageManager.playerName);
|
||||
}
|
||||
|
||||
printRecord() {
|
||||
|
||||
Reference in New Issue
Block a user