mirror of
https://github.com/photonstorm/phaser
synced 2024-12-03 18:10:10 +00:00
Merge pull request #1711 from AyogoHealth/definitions-fix
Fix some errors in the definitions files for Phaser.Group
This commit is contained in:
commit
ef5c0d89de
2 changed files with 4 additions and 4 deletions
4
typescript/phaser.comments.d.ts
vendored
4
typescript/phaser.comments.d.ts
vendored
|
@ -7142,7 +7142,7 @@ declare module Phaser {
|
||||||
* @param child The child to bring to the top of this group.
|
* @param child The child to bring to the top of this group.
|
||||||
* @return The child that was moved.
|
* @return The child that was moved.
|
||||||
*/
|
*/
|
||||||
bringToTop(): PIXI.DisplayObject;
|
bringToTop(child: any): any;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Calls a function, specified by name, on all on children.
|
* 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.
|
* @param child The child to move down in the group.
|
||||||
* @return The child that was moved.
|
* @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.
|
* Moves the given child up one place in this group unless it's already at the top.
|
||||||
|
|
4
typescript/phaser.d.ts
vendored
4
typescript/phaser.d.ts
vendored
|
@ -1451,7 +1451,7 @@ declare module Phaser {
|
||||||
addAll(property: string, amount: number, checkAlive: boolean, checkVisible: boolean): void;
|
addAll(property: string, amount: number, checkAlive: boolean, checkVisible: boolean): void;
|
||||||
addAt(child: any, index: number, silent?: boolean): any;
|
addAt(child: any, index: number, silent?: boolean): any;
|
||||||
addMultiple(children: any[], silent?: boolean): any[];
|
addMultiple(children: any[], silent?: boolean): any[];
|
||||||
bringToTop(): PIXI.DisplayObject;
|
bringToTop(child: any): any;
|
||||||
callAll(method: string, context: any, ...parameters: any[]): void;
|
callAll(method: string, context: any, ...parameters: any[]): void;
|
||||||
callAllExists(callback: Function, existsValue: boolean, ...parameters: any[]): void;
|
callAllExists(callback: Function, existsValue: boolean, ...parameters: any[]): void;
|
||||||
callbackFromArray(child: any, callback: Function, length: number): void;
|
callbackFromArray(child: any, callback: Function, length: number): void;
|
||||||
|
@ -1479,7 +1479,7 @@ declare module Phaser {
|
||||||
getTop(): any;
|
getTop(): any;
|
||||||
hasProperty(child: any, key: string[]): boolean;
|
hasProperty(child: any, key: string[]): boolean;
|
||||||
iterate(key: string, value: any, returnType: number, callback?: Function, callbackContext?: any, ...args: any[]): any;
|
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;
|
moveUp(child: any): any;
|
||||||
multiplyAll(property: string, amount: number, checkAlive: boolean, checkVisible: boolean): void;
|
multiplyAll(property: string, amount: number, checkAlive: boolean, checkVisible: boolean): void;
|
||||||
next(): void;
|
next(): void;
|
||||||
|
|
Loading…
Reference in a new issue