Merge pull request #1711 from AyogoHealth/definitions-fix

Fix some errors in the definitions files for Phaser.Group
This commit is contained in:
Richard Davey 2015-04-02 01:21:02 +01:00
commit ef5c0d89de
2 changed files with 4 additions and 4 deletions

View file

@ -7142,7 +7142,7 @@ declare module Phaser {
* @param child The child to bring to the top of this group.
* @return The child that was moved.
*/
bringToTop(): PIXI.DisplayObject;
bringToTop(child: any): any;
/**
* Calls a function, specified by name, on all on children.
@ -7454,7 +7454,7 @@ declare module Phaser {
* @param child The child to move down in the group.
* @return The child that was moved.
*/
moveDown(): PIXI.DisplayObject;
moveDown(child: any): any;
/**
* Moves the given child up one place in this group unless it's already at the top.

View file

@ -1451,7 +1451,7 @@ declare module Phaser {
addAll(property: string, amount: number, checkAlive: boolean, checkVisible: boolean): void;
addAt(child: any, index: number, silent?: boolean): any;
addMultiple(children: any[], silent?: boolean): any[];
bringToTop(): PIXI.DisplayObject;
bringToTop(child: any): any;
callAll(method: string, context: any, ...parameters: any[]): void;
callAllExists(callback: Function, existsValue: boolean, ...parameters: any[]): void;
callbackFromArray(child: any, callback: Function, length: number): void;
@ -1479,7 +1479,7 @@ declare module Phaser {
getTop(): any;
hasProperty(child: any, key: string[]): boolean;
iterate(key: string, value: any, returnType: number, callback?: Function, callbackContext?: any, ...args: any[]): any;
moveDown(): PIXI.DisplayObject;
moveDown(child: any): any;
moveUp(child: any): any;
multiplyAll(property: string, amount: number, checkAlive: boolean, checkVisible: boolean): void;
next(): void;