Fixes #1497 and Minor Updates.

This commit is contained in:
Clark Stevenson 2015-01-02 18:21:30 +00:00
parent 5e976b9028
commit 428dae564f
2 changed files with 7 additions and 4 deletions

View file

@ -1,6 +1,6 @@
/// <reference path="pixi.d.ts" />
// 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;

View file

@ -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;