mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2026-08-30 02:24:42 +08:00
update: 名人模式解锁条件
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
export default class CyberMain extends ui.view.CyberTheme.CyberMainUI {
|
||||
constructor() {
|
||||
super()
|
||||
this.btnRemake.on(Laya.Event.CLICK, this, () => $ui.switchView(UI.pages.MODE))
|
||||
this.btnRemake.on(Laya.Event.CLICK, this, () => this.remake())
|
||||
this.btnAchievement.on(Laya.Event.CLICK, this, () => $ui.switchView(UI.pages.ACHIEVEMENT))
|
||||
this.btnThanks.on(Laya.Event.CLICK, this, () => $ui.switchView(UI.pages.THANKS))
|
||||
this.btnGithub.on(Laya.Event.CLICK, this, goto, ['github'])
|
||||
@@ -40,4 +40,8 @@ export default class CyberMain extends ui.view.CyberTheme.CyberMainUI {
|
||||
this.btnGithub.visible = !disabled.github
|
||||
this.btnSaveLoad.visible = !disabled.saveload
|
||||
}
|
||||
|
||||
remake() {
|
||||
$ui.switchView(core.celebrityLimit ? UI.pages.TALENT : UI.pages.MODE)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user