mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-10 23:44:31 +08:00
资源加载,bgm和音效播放
This commit is contained in:
1 parent
6f59ea51ac
commit
5aed6393a2
16 files changed
+289
-52
No files matched your search
Vendored
+5
-1
@@ -22,7 +22,11 @@ interface Loader {
|
||||
* @param imgName 图片名称
|
||||
* @param callback 加载完毕的回调函数
|
||||
*/
|
||||
loadImage(dir: string, imgName: string, callback?: () => void): void;
|
||||
loadImage(
|
||||
dir: string,
|
||||
imgName: string,
|
||||
callback?: (name: string, img: HTMLImageElement) => void
|
||||
): void;
|
||||
|
||||
/**
|
||||
* 从zip中加载一系列图片
|
||||
|
||||
Reference in new issue
Block a user