mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 23:20:59 +00:00
TS defs update.
This commit is contained in:
parent
ed13db65d3
commit
f3c5b7a0bc
2 changed files with 2 additions and 0 deletions
|
@ -740,6 +740,7 @@ Phaser.Loader.prototype = {
|
||||||
* truecolor: 'assets/factory.png'
|
* truecolor: 'assets/factory.png'
|
||||||
* });
|
* });
|
||||||
* ```
|
* ```
|
||||||
|
*
|
||||||
* The `truecolor` property points to a standard PNG file, that will be used if none of the
|
* 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.
|
* compressed formats are supported by the browser / GPU.
|
||||||
*
|
*
|
||||||
|
|
1
typescript/phaser.d.ts
vendored
1
typescript/phaser.d.ts
vendored
|
@ -2506,6 +2506,7 @@ declare module Phaser {
|
||||||
spritesheet(key: string, url: string, frameWidth: number, frameHeight: number, frameMax?: number, margin?: number, spacing?: number): Phaser.Loader;
|
spritesheet(key: string, url: string, frameWidth: number, frameHeight: number, frameMax?: number, margin?: number, spacing?: number): Phaser.Loader;
|
||||||
start(): void;
|
start(): void;
|
||||||
text(key: string, url?: string, overwrite?: boolean): Phaser.Loader;
|
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;
|
tilemap(key: string, url?: string, data?: any, format?: number): Phaser.Loader;
|
||||||
totalLoadedFiles(): number;
|
totalLoadedFiles(): number;
|
||||||
totalLoadedPacks(): number;
|
totalLoadedPacks(): number;
|
||||||
|
|
Loading…
Reference in a new issue