Update phaser.d.ts

Missing json() method on Phaser.Loader.
This commit is contained in:
Strato
2014-02-25 19:03:30 +01:00
parent 159426c6fa
commit 375da5db14
+1
View File
@@ -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;