mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 23:24:41 +00:00
Fixed few typos in typings
This commit is contained in:
parent
3b71baff7d
commit
fb299b8838
1 changed files with 2 additions and 2 deletions
4
typescript/phaser.d.ts
vendored
4
typescript/phaser.d.ts
vendored
|
@ -1377,7 +1377,7 @@ declare module Phaser {
|
|||
audio(key: string, volume?: number, loop?: boolean, connect?: boolean): Phaser.Sound;
|
||||
audioSprite(key: string): Phaser.AudioSprite;
|
||||
bitmapData(width?: number, height?: number, key?: string, addToCache?: boolean): Phaser.BitmapData;
|
||||
bitmapText(x: number, y: number, font: string, text?: string, size?: number, align?: string, group?: Phaser.Group): Phaser.BitmapText;
|
||||
bitmapText(x: number, y: number, font: string, text?: string, size?: number, group?: Phaser.Group): Phaser.BitmapText;
|
||||
button(x?: number, y?: number, key?: string, callback?: Function, callbackContext?: any, overFrame?: any, outFrame?: any, downFrame?: any, upFrame?: any, group?: Phaser.Group): Phaser.Button;
|
||||
emitter(x?: number, y?: number, maxParticles?: number): Phaser.Particles.Arcade.Emitter;
|
||||
existing(object: any): any;
|
||||
|
@ -1692,7 +1692,7 @@ declare module Phaser {
|
|||
|
||||
class Image extends PIXI.Sprite {
|
||||
|
||||
constructor(game: Phaser.Game, x: number, y: number, key: string|Phaser.RenderTexture|Phaser.BitmapData|PIXI.Texture, frame: string|number);
|
||||
constructor(game: Phaser.Game, x: number, y: number, key: string|Phaser.RenderTexture|Phaser.BitmapData|PIXI.Texture, frame?: string|number);
|
||||
|
||||
alive: boolean;
|
||||
angle: number;
|
||||
|
|
Loading…
Reference in a new issue