From 30b2b408106670f8e7bc70e44f82ec8e2b46db4d Mon Sep 17 00:00:00 2001 From: clark-stevenson Date: Thu, 8 May 2014 13:36:51 +0100 Subject: [PATCH] Update IPixiRenderer Interface Thanks @natelong Solves http://www.html5gamedevs.com/topic/1638-changing-game-size-to-fit-page/?p=36922 --- build/phaser.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build/phaser.d.ts b/build/phaser.d.ts index f3e920925..bfb3afda8 100644 --- a/build/phaser.d.ts +++ b/build/phaser.d.ts @@ -76,8 +76,14 @@ declare module PIXI { } export interface IPixiRenderer { + type: number; + transparent: boolean; + width: number; + height: number; view: HTMLCanvasElement; + render(stage: Stage): void; + resize(width: number, height: number): void; } export interface IBitmapTextStyle { @@ -930,6 +936,7 @@ declare module PIXI { width: number; height: number; transparent: boolean; + type: number; view: HTMLCanvasElement; constructor(width: number, height: number, view?: HTMLCanvasElement, transparent?: boolean, antialias?: boolean);