mirror of
https://github.com/wassname/phaser.git
synced 2026-06-27 16:10:15 +08:00
Update phaser.d.ts
atlasJSONArray, atlasJSONHash should have optional parameters when it comes to URL/Object? Please disregard this if this is incorrect.
This commit is contained in:
Vendored
+3
-3
@@ -1645,9 +1645,9 @@ declare module Phaser {
|
||||
tilemap(key: string, tilesetURL: string, mapDataURL?: string, mapData?: Object, format?: string): void;
|
||||
tileset(key: string, url: string, tileWidth: number, tileHeight: number, tileMargin?: number, tileSpacing?: number, rows?: number, columns?: number, limit?: number): void;
|
||||
bitmapFont(key: string, textureURL: string, xmlURL?: string, xmlData?: Object): void;
|
||||
atlasJSONArray(key: string, textureURL: string, atlasURL: string, atlasData: Object): void;
|
||||
atlasJSONHash(key: string, textureURL: string, atlasURL: string, atlasData: Object): void;
|
||||
atlasXML(key: string, textureURL: string, atlasURL: string, atlasData: Object): void;
|
||||
atlasJSONArray(key: string, textureURL: string, atlasURL?: string, atlasData?: Object): void;
|
||||
atlasJSONHash(key: string, textureURL: string, atlasURL?: string, atlasData?: Object): void;
|
||||
atlasXML(key: string, textureURL: string, atlasURL?: string, atlasData?: Object): void;
|
||||
atlas(key: string, textureURL: string, atlasURL?: string, atlasData?: Object, format?: number): void;
|
||||
removeFile(key: string): void;
|
||||
removeAll(): void;
|
||||
|
||||
Reference in New Issue
Block a user