Deploying to gh-pages from @ VickScarlet/lifeRestart@8f46e286dd 🚀

This commit is contained in:
VickScarlet
2025-04-05 09:40:46 +00:00
parent e3d1b38c73
commit 6c1e71a964
152 changed files with 161173 additions and 0 deletions

View File

@@ -0,0 +1 @@
class i extends ui.view.CyberTheme.CyberMainUI{constructor(){super(),this.btnRemake.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.MODE)),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"]),this.btnDiscord.on(Laya.Event.CLICK,this,goto,["discord"]),this.btnThemes.on(Laya.Event.CLICK,this,()=>$ui.showDialog(UI.pages.THEMES)),this.btnSaveLoad.on(Laya.Event.CLICK,this,()=>$ui.showDialog(UI.pages.SAVELOAD)),this.on(Laya.Event.RESIZE,this,()=>{const s=Math.max(this.width/this.imgBg.width,this.height/this.imgBg.height);this.imgBg.scale(s,s)})}static load(){return["fonts/方正像素12.ttf","images/atlas/images/accessories.atlas","images/atlas/images/border.atlas","images/atlas/images/button.atlas","images/atlas/images/icons.atlas","images/atlas/images/progress.atlas","images/atlas/images/slider.atlas"]}init(){this.banner.visible=this.btnDiscord.visible=this.btnAchievement.visible=this.btnThanks.visible=!!core.times}}export{i as default};