From 428dae564fb347ceccd7d23e1d0d44a9536e984e Mon Sep 17 00:00:00 2001 From: Clark Stevenson Date: Fri, 2 Jan 2015 18:21:30 +0000 Subject: [PATCH] Fixes #1497 and Minor Updates. --- typescript/phaser.d.ts | 7 +++++-- typescript/pixi.d.ts | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/typescript/phaser.d.ts b/typescript/phaser.d.ts index 3ef86fa44..435212edb 100644 --- a/typescript/phaser.d.ts +++ b/typescript/phaser.d.ts @@ -1,6 +1,6 @@ /// -// Type definitions for Phaser dev2.2.0 RC12 2014-12-02 +// Type definitions for Phaser dev2.2.0 RC12 2015-02-01 // Project: https://github.com/photonstorm/phaser declare class Phaser { @@ -802,6 +802,7 @@ declare module Phaser { onKilled: Phaser.Signal; onRevived: Phaser.Signal; onOutOfBounds: Phaser.Signal; + onEnterBounds: Phaser.Signal; onInputOver: Phaser.Signal; onInputOut: Phaser.Signal; onInputDown: Phaser.Signal; @@ -1468,7 +1469,7 @@ declare module Phaser { divideAll(property: string, amount: number, checkAlive?: boolean, checkVisible?: boolean): void; forEach(callback: Function, callbackContext: any, checkExists?: boolean, ...args: any[]): void; forEachAlive(callback: Function, callbackContext: any, ...args: any[]): void; - forEachDead(callback: Function, callbackContext: any, ...args:any[]): void; + forEachDead(callback: Function, callbackContext: any, ...args: any[]): void; forEachExists(callback: Function, callbackContext: any): void; filter(predicate: Function, checkExists?: boolean): ArraySet; getAt(index: number): any; @@ -3798,6 +3799,7 @@ declare module Phaser { setBackgroundColor(backgroundColor: number): void; setBackgroundColor(backgroundColor: string): void; update(): void; + updateTransform(): void; visibilityChange(event: any): void; } @@ -3822,6 +3824,7 @@ declare module Phaser { boundingParent: HTMLElement; compatibility: { canExpandParent: boolean; + clickTrampoline: string; forceMinimumDocumentHeight: boolean; noMargins: boolean; scrollTo: Point; diff --git a/typescript/pixi.d.ts b/typescript/pixi.d.ts index 8fac045d5..82071698a 100644 --- a/typescript/pixi.d.ts +++ b/typescript/pixi.d.ts @@ -1,4 +1,4 @@ -// Type definitions for PIXI 2.2.0 dev 2014-11-02 +// Type definitions for PIXI 2.2.0 dev 2014-16-12 // Project: https://github.com/GoodBoyDigital/pixi.js/ declare module PIXI { @@ -912,7 +912,7 @@ declare module PIXI { constructor(...points: Point[]); constructor(...points: number[]); - points: number[]; + points: any[]; //number[] Point[] clone(): Polygon; contains(x: number, y: number): boolean;