Skip to content

Commit

Permalink
Update phaser.d.ts
Browse files Browse the repository at this point in the history
Added BitmapText definitions
  • Loading branch information
vforsh committed Feb 5, 2014
1 parent 45f9db5 commit a1ccddc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions build/phaser.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,20 @@ declare module Phaser {
}

class BitmapText extends Phaser.Text {
constructor(game: Phaser.Game, x?: number, y?: number, text?: string, style?: Object);
alive: boolean;
anchor: Phaser.Point;
angle: number;
exist: boolean;
game: Phaser.Game;
group: Phaser.Group;
name: string;
renderable: boolean;
scale: Phaser.Point;
type: number; // readonly
x: number;
y: number;
update(): void;
}

class Button {
Expand Down

0 comments on commit a1ccddc

Please sign in to comment.