mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-26 11:18:02 +08:00
删除大量无用函数,优化结构
This commit is contained in:
1 parent
3e13e0006c
commit
dd81779960
7 files changed
+21
-273
No files matched your search
@@ -66,3 +66,5 @@ function forward() {
|
||||
}
|
||||
|
||||
main.forward = forward;
|
||||
main.init('play');
|
||||
main.listen();
|
||||
+1
-1
@@ -3,7 +3,7 @@ import App from './App.vue';
|
||||
import App2 from './App2.vue';
|
||||
import './styles.less';
|
||||
import 'ant-design-vue/dist/antd.dark.css';
|
||||
import './plugin/particle/render';
|
||||
import './initPlugin';
|
||||
|
||||
createApp(App).mount('#root');
|
||||
createApp(App2).mount('#root2');
|
||||
Vendored
-5
@@ -1065,11 +1065,6 @@ interface Control {
|
||||
*/
|
||||
hideStatusBar(showToolbox?: boolean): void;
|
||||
|
||||
/**
|
||||
* 更新状态栏的勇士图标
|
||||
*/
|
||||
updateHeroIcon(name: ImageIds): void;
|
||||
|
||||
/**
|
||||
* 改变工具栏为按钮1-8
|
||||
* @param useButton 是否显示为按钮1-8
|
||||
|
||||
Vendored
+1
-1
@@ -1261,7 +1261,7 @@ interface Main extends MainData {
|
||||
* @param mode 初始化游戏的模式,游玩还是编辑器
|
||||
* @param callback 初始化完成后的回调函数
|
||||
*/
|
||||
init(mode: 'play' | 'editor', callback: () => void): void;
|
||||
init(mode: 'play' | 'editor', callback?: () => void): void;
|
||||
|
||||
/**
|
||||
* 动态加载js文件
|
||||
|
||||
Reference in new issue
Block a user