TS defs update.

This commit is contained in:
Richard Davey 2016-09-20 02:03:00 +01:00
parent ed13db65d3
commit f3c5b7a0bc
2 changed files with 2 additions and 0 deletions

View file

@ -740,6 +740,7 @@ Phaser.Loader.prototype = {
* truecolor: 'assets/factory.png'
* });
* ```
*
* The `truecolor` property points to a standard PNG file, that will be used if none of the
* compressed formats are supported by the browser / GPU.
*

View file

@ -2506,6 +2506,7 @@ declare module Phaser {
spritesheet(key: string, url: string, frameWidth: number, frameHeight: number, frameMax?: number, margin?: number, spacing?: number): Phaser.Loader;
start(): void;
text(key: string, url?: string, overwrite?: boolean): Phaser.Loader;
texture(key: string, object: any, overwrite?: boolean): Phaser.Loader;
tilemap(key: string, url?: string, data?: any, format?: number): Phaser.Loader;
totalLoadedFiles(): number;
totalLoadedPacks(): number;