Merge pull request #812 from clark-stevenson/patch-3

Update IPixiRenderer Interface
This commit is contained in:
Richard Davey 2014-05-08 14:08:33 +01:00
commit f716b0a8dd

7
build/phaser.d.ts vendored
View file

@ -76,8 +76,14 @@ declare module PIXI {
} }
export interface IPixiRenderer { export interface IPixiRenderer {
type: number;
transparent: boolean;
width: number;
height: number;
view: HTMLCanvasElement; view: HTMLCanvasElement;
render(stage: Stage): void; render(stage: Stage): void;
resize(width: number, height: number): void;
} }
export interface IBitmapTextStyle { export interface IBitmapTextStyle {
@ -930,6 +936,7 @@ declare module PIXI {
width: number; width: number;
height: number; height: number;
transparent: boolean; transparent: boolean;
type: number;
view: HTMLCanvasElement; view: HTMLCanvasElement;
constructor(width: number, height: number, view?: HTMLCanvasElement, transparent?: boolean, antialias?: boolean); constructor(width: number, height: number, view?: HTMLCanvasElement, transparent?: boolean, antialias?: boolean);