mirror of
https://github.com/wassname/phaser.git
synced 2026-06-27 16:10:15 +08:00
Update phaser.d.ts
Missing json() method on Phaser.Loader.
This commit is contained in:
Vendored
+1
@@ -1267,6 +1267,7 @@ declare module Phaser {
|
|||||||
fileError(key: number): void;
|
fileError(key: number): void;
|
||||||
getAsset(type: string, key: string): any;
|
getAsset(type: string, key: string): any;
|
||||||
image(key: string, url: string, overwrite?: boolean): Phaser.Loader;
|
image(key: string, url: string, overwrite?: boolean): Phaser.Loader;
|
||||||
|
json(key: string, url: string): Phaser.Loader;
|
||||||
jsonLoadComplete(index: number): void;
|
jsonLoadComplete(index: number): void;
|
||||||
removeAll(): void;
|
removeAll(): void;
|
||||||
removeFile(key: string, type: string): void;
|
removeFile(key: string, type: string): void;
|
||||||
|
|||||||
Reference in New Issue
Block a user