Fix: just on time experience app timer text layer
This commit is contained in:
@@ -26,11 +26,6 @@ JustOnTime.prototype.create = function() {
|
|||||||
|
|
||||||
sessionStorageManager.setIsNewAppHighestRecord(false);
|
sessionStorageManager.setIsNewAppHighestRecord(false);
|
||||||
|
|
||||||
var experienceAppTimer = new ExperienceAppTimer();
|
|
||||||
experienceAppTimer.setTimeOverListener(
|
|
||||||
(function() { this.timeOver(); }).bind(this)
|
|
||||||
);
|
|
||||||
|
|
||||||
// keyboard shortcut
|
// keyboard shortcut
|
||||||
this.keyboardShortcut = new KeyboardShortcut();
|
this.keyboardShortcut = new KeyboardShortcut();
|
||||||
this.keyboardShortcut.addCallback(
|
this.keyboardShortcut.addCallback(
|
||||||
@@ -109,6 +104,12 @@ JustOnTime.prototype.create = function() {
|
|||||||
|
|
||||||
this.god = new God();
|
this.god = new God();
|
||||||
|
|
||||||
|
// experience app timer must be shown over god character
|
||||||
|
var experienceAppTimer = new ExperienceAppTimer();
|
||||||
|
experienceAppTimer.setTimeOverListener(
|
||||||
|
(function() { this.timeOver(); }).bind(this)
|
||||||
|
);
|
||||||
|
|
||||||
// bottom ui
|
// bottom ui
|
||||||
var screenBottomUI = new ScreenBottomUI();
|
var screenBottomUI = new ScreenBottomUI();
|
||||||
screenBottomUI.printLeftTextWithAppHighestRecord(sessionStorageManager.getAppHighestRecord());
|
screenBottomUI.printLeftTextWithAppHighestRecord(sessionStorageManager.getAppHighestRecord());
|
||||||
|
|||||||
Reference in New Issue
Block a user