import { LaunchContext, LaunchState, LaunchStateId } from './LaunchState'; export class EnterLobbyState implements LaunchState { readonly id = LaunchStateId.EnterLobby; async enter(context: LaunchContext): Promise { context.progress({ state: this.id, title: '进入大厅', progress: 1 }); await context.kernel.scenes.goToLobby(); return LaunchStateId.Complete; } }