mirror of
https://github.com/motajs/template.git
synced 2026-11-06 01:14:31 +08:00
chore: 调整部分错误
This commit is contained in:
1 parent
75a39ad573
commit
ce459d9e2d
5 files changed
+10
-67
No files matched your search
@@ -43,23 +43,21 @@ import { UIController } from '@motajs/system';
|
||||
export class ClientCore extends CoreState implements IClientCore {
|
||||
// Layer 4 渲染基础层
|
||||
readonly save: ISaveSystem;
|
||||
|
||||
// Layer 5 渲染顶层
|
||||
readonly materials: ITextureManager;
|
||||
|
||||
readonly audioContext: IMotaAudioContext;
|
||||
readonly soundPlayer: ISoundPlayer<SoundIds>;
|
||||
readonly bgmPlayer: IBGMPlayer<BgmIds>;
|
||||
readonly rafExcitation: IExcitation<number>;
|
||||
readonly excitationDivider: IExcitationDivider<number>;
|
||||
readonly renderer: IRenderTreeRoot;
|
||||
readonly materials: ITextureManager;
|
||||
|
||||
// Layer 5 渲染顶层
|
||||
readonly using: IRendererUsing;
|
||||
readonly mainMapRenderer: IMapRenderer;
|
||||
readonly mainMapExtension: IMapExtensionManager;
|
||||
readonly sceneController: UIController;
|
||||
readonly mainUIController: UIController;
|
||||
|
||||
readonly audioContext: IMotaAudioContext;
|
||||
readonly soundPlayer: ISoundPlayer<SoundIds>;
|
||||
readonly bgmPlayer: IBGMPlayer<BgmIds>;
|
||||
|
||||
constructor(config: IClientCoreConfig) {
|
||||
super({
|
||||
loadStarter: new WebLoadStarter(),
|
||||
@@ -83,7 +81,6 @@ export class ClientCore extends CoreState implements IClientCore {
|
||||
|
||||
this.materials = new TextureManager(
|
||||
this,
|
||||
this.tileStore,
|
||||
config.tilesetReserve,
|
||||
config.tilesetUnit
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user