Allow Text.style to be any type

To allow a configuration object to be used rather than a string
This commit is contained in:
gareththegeek 2014-01-16 14:48:13 +00:00
parent abdaaa0010
commit 47ee5a2c88

6
build/phaser.d.ts vendored
View file

@ -799,7 +799,7 @@ declare module Phaser {
}
class Text {
constructor(game: Phaser.Game, x: number, y: number, text: string, style: string);
constructor(game: Phaser.Game, x: number, y: number, text: string, style: any);
exists: boolean;
alive: boolean;
group: Phaser.Group;
@ -809,7 +809,7 @@ declare module Phaser {
type: number;
text: string;
angle: number;
style: string;
style: any;
visible: boolean;
position: Phaser.Point;
anchor: Phaser.Point;
@ -1967,4 +1967,4 @@ declare module Phaser {
game: Phaser.Game;
render(tilemap: Tilemap): void;
}
}
}