mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-04-11 15:47:06 +08:00
fix: 未知原因报错
This commit is contained in:
parent
e0c79e06bb
commit
d60252dca5
@ -1,3 +1,5 @@
|
||||
// todo: 这个引入不加会报错,应该是循环引用导致的
|
||||
import '@/plugin/utils';
|
||||
import { Focus, GameUi, UiController } from './main/custom/ui';
|
||||
import { GameStorage } from './main/storage';
|
||||
import './main/init/';
|
||||
|
@ -1,5 +1,3 @@
|
||||
import type { AudioPlayer } from '@/core/audio/audio';
|
||||
import type { SoundController, SoundEffect } from '@/core/audio/sound';
|
||||
import type { Disposable } from '@/core/common/disposable';
|
||||
import type {
|
||||
EventEmitter,
|
||||
@ -57,9 +55,6 @@ interface ClassInterface {
|
||||
Hotkey: typeof Hotkey;
|
||||
Keyboard: typeof Keyboard;
|
||||
CustomToolbar: typeof CustomToolbar;
|
||||
AudioPlayer: typeof AudioPlayer;
|
||||
SoundEffect: typeof SoundEffect;
|
||||
SoundController: typeof SoundController;
|
||||
Danmaku: typeof Danmaku;
|
||||
// todo: 放到插件 ShaderEffect: typeof ShaderEffect;
|
||||
// 定义于游戏进程,渲染进程依然可用
|
||||
@ -90,7 +85,6 @@ interface VariableInterface {
|
||||
fixedUi: UiController;
|
||||
KeyCode: typeof KeyCode;
|
||||
// isMobile: boolean;
|
||||
sound: SoundController;
|
||||
settingStorage: GameStorage;
|
||||
status: Ref<boolean>;
|
||||
// 定义于游戏进程,渲染进程依然可用
|
||||
|
Loading…
Reference in New Issue
Block a user