mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-04-19 17:16:08 +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 { Focus, GameUi, UiController } from './main/custom/ui';
|
||||||
import { GameStorage } from './main/storage';
|
import { GameStorage } from './main/storage';
|
||||||
import './main/init/';
|
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 { Disposable } from '@/core/common/disposable';
|
||||||
import type {
|
import type {
|
||||||
EventEmitter,
|
EventEmitter,
|
||||||
@ -57,9 +55,6 @@ interface ClassInterface {
|
|||||||
Hotkey: typeof Hotkey;
|
Hotkey: typeof Hotkey;
|
||||||
Keyboard: typeof Keyboard;
|
Keyboard: typeof Keyboard;
|
||||||
CustomToolbar: typeof CustomToolbar;
|
CustomToolbar: typeof CustomToolbar;
|
||||||
AudioPlayer: typeof AudioPlayer;
|
|
||||||
SoundEffect: typeof SoundEffect;
|
|
||||||
SoundController: typeof SoundController;
|
|
||||||
Danmaku: typeof Danmaku;
|
Danmaku: typeof Danmaku;
|
||||||
// todo: 放到插件 ShaderEffect: typeof ShaderEffect;
|
// todo: 放到插件 ShaderEffect: typeof ShaderEffect;
|
||||||
// 定义于游戏进程,渲染进程依然可用
|
// 定义于游戏进程,渲染进程依然可用
|
||||||
@ -90,7 +85,6 @@ interface VariableInterface {
|
|||||||
fixedUi: UiController;
|
fixedUi: UiController;
|
||||||
KeyCode: typeof KeyCode;
|
KeyCode: typeof KeyCode;
|
||||||
// isMobile: boolean;
|
// isMobile: boolean;
|
||||||
sound: SoundController;
|
|
||||||
settingStorage: GameStorage;
|
settingStorage: GameStorage;
|
||||||
status: Ref<boolean>;
|
status: Ref<boolean>;
|
||||||
// 定义于游戏进程,渲染进程依然可用
|
// 定义于游戏进程,渲染进程依然可用
|
||||||
|
Loading…
Reference in New Issue
Block a user