mirror of
https://github.com/motajs/template.git
synced 2026-11-27 08:24:30 +08:00
feat: CoreState 配置添加 loadStarter
This commit is contained in:
1 parent
f5a6ed8cf6
commit
ed0b95b1c4
3 files changed
+16
-4
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user