Update phaser.d.ts

Added BitmapText definitions
This commit is contained in:
qdrj
2014-02-05 01:19:04 -08:00
parent 45f9db515a
commit a1ccddcd7e
+14
View File
@@ -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 {