| 123456789101112 |
- import { LaunchContext, LaunchState, LaunchStateId } from './LaunchState';
- export class EnterLobbyState implements LaunchState {
- readonly id = LaunchStateId.EnterLobby;
- async enter(context: LaunchContext): Promise<LaunchStateId> {
- const i18n = context.kernel.i18n;
- context.progress({ state: this.id, title: i18n.t('launch.open_lobby'), progress: 1 });
- await context.kernel.scenes.goToLobby();
- return LaunchStateId.Complete;
- }
- }
|