mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-18 13:24:30 +08:00
refactor: 移动 & 按键微调
This commit is contained in:
1 parent
433c4580fe
commit
b0f9e9d17d
26 files changed
+444
-130
No files matched your search
+11
-11
@@ -27,7 +27,6 @@ import type { Danmaku } from '@/core/main/custom/danmaku';
|
||||
import type * as misc from './mechanism/misc';
|
||||
import type { MotaCanvas2D } from '@/core/fx/canvas2d';
|
||||
import type * as portal from '@/core/fx/portal';
|
||||
import type { HeroRenderer } from '@/core/render/hero';
|
||||
import type { texture } from '@/core/render/cache';
|
||||
import type { MotaRenderer } from '@/core/render/render';
|
||||
import type { Container } from '@/core/render/container';
|
||||
@@ -35,6 +34,7 @@ import type { Sprite } from '@/core/render/sprite';
|
||||
import type { Camera } from '@/core/render/camera';
|
||||
import type { Image, Text } from '@/core/render/preset/misc';
|
||||
import type { RenderItem } from '@/core/render/item';
|
||||
import type { RenderAdapter } from '@/core/render/adapter';
|
||||
|
||||
interface ClassInterface {
|
||||
// 渲染进程与游戏进程通用
|
||||
@@ -105,15 +105,15 @@ interface ModuleInterface {
|
||||
Portal: typeof portal;
|
||||
};
|
||||
Render: {
|
||||
heroRender: HeroRenderer;
|
||||
texture: typeof texture;
|
||||
MotaRenderer: MotaRenderer;
|
||||
Container: Container;
|
||||
Sprite: Sprite;
|
||||
Camera: Camera;
|
||||
Text: Text;
|
||||
Image: Image;
|
||||
RenderItem: RenderItem;
|
||||
MotaRenderer: typeof MotaRenderer;
|
||||
Container: typeof Container;
|
||||
Sprite: typeof Sprite;
|
||||
Camera: typeof Camera;
|
||||
Text: typeof Text;
|
||||
Image: typeof Image;
|
||||
RenderItem: typeof RenderItem;
|
||||
RenderAdapter: typeof RenderAdapter;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -166,12 +166,12 @@ interface PluginInterface {
|
||||
|
||||
interface PackageInterface {
|
||||
axios: typeof import('axios');
|
||||
'chart.js': typeof import('chart.js');
|
||||
// 'chart.js': typeof import('chart.js');
|
||||
jszip: typeof import('jszip');
|
||||
lodash: typeof import('lodash-es');
|
||||
'lz-string': typeof import('lz-string');
|
||||
'mutate-animate': typeof import('mutate-animate');
|
||||
vue: typeof import('vue');
|
||||
// vue: typeof import('vue');
|
||||
}
|
||||
|
||||
export interface IMota {
|
||||
|
||||
Reference in new issue
Block a user