mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-14 18:45:59 +08:00
删除大量无用函数,优化结构
This commit is contained in:
1 parent
3e13e0006c
commit
dd81779960
7 files changed
+21
-273
No files matched your search
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