feat: CoreState 配置添加 loadStarter

This commit is contained in:
AncTe committed 2026-09-18 20:36:03 +08:00
1 parent f5a6ed8cf6
commit ed0b95b1c4
3 files changed
+16 -4

No files matched your search

+4 -1
View File
@@ -42,6 +42,7 @@ import {
} from './shared';
import { loading } from '@user/data-base';
import { fallbackLoad } from './fallback/load';
import { WebLoadStarter } from '@motajs/loader';
export class ClientCore extends CoreState implements IClientCore {
// Layer 4 渲染基础层
@@ -63,7 +64,9 @@ export class ClientCore extends CoreState implements IClientCore {
readonly bgmPlayer: IBGMPlayer<BgmIds>;
constructor() {
super({});
super({
loadStarter: new WebLoadStarter()
});
//#region Layer 4