import { GameState } from "../core/game_state";
export class WegameSplashState extends GameState {
constructor() {
super("WegameSplashState");
}
getInnerHTML() {
return `
健康游戏忠告
抵制不良游戏,拒绝盗版游戏。
注意自我保护,谨防受骗上当。
适度游戏益脑,沉迷游戏伤身。
合理安排时间,享受健康生活。
`;
}
onEnter() {
setTimeout(
() => {
this.app.stateMgr.moveToState("PreloadState");
},
G_IS_DEV ? 1 : 6000
);
}
}