mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
Fixed typescript definitions: ArrayUtils.rotateMatrix and ArrayUtils.numberArrayStep
This commit is contained in:
parent
a180882d27
commit
042fc28513
2 changed files with 4 additions and 4 deletions
4
typescript/phaser.comments.d.ts
vendored
4
typescript/phaser.comments.d.ts
vendored
|
@ -196,11 +196,11 @@ declare module "phaser" {
|
|||
static removeRandomItem<T>(objects: T[], startIndex?: number, length?: number): T;
|
||||
static shuffle<T>(array: T[]): T[];
|
||||
static transposeMatrix<T>(array: T[]): T;
|
||||
static rotateMatrix(matrix: any, direction: number): any;
|
||||
static rotateMatrix(matrix: any, direction: number | string): any;
|
||||
static findClosest(value: number, arr: number[]): number;
|
||||
static rotate(array: any[]): any;
|
||||
static numberArray(start: number, end: number): number[];
|
||||
static numberArrayStep(start: number, end: number, step?: number): number[];
|
||||
static numberArrayStep(start: number, end?: number, step?: number): number[];
|
||||
|
||||
}
|
||||
|
||||
|
|
4
typescript/phaser.d.ts
vendored
4
typescript/phaser.d.ts
vendored
|
@ -196,11 +196,11 @@ declare module "phaser" {
|
|||
static removeRandomItem<T>(objects: T[], startIndex?: number, length?: number): T;
|
||||
static shuffle<T>(array: T[]): T[];
|
||||
static transposeMatrix<T>(array: T[]): T;
|
||||
static rotateMatrix(matrix: any, direction: number): any;
|
||||
static rotateMatrix(matrix: any, direction: number | string): any;
|
||||
static findClosest(value: number, arr: number[]): number;
|
||||
static rotate(array: any[]): any;
|
||||
static numberArray(start: number, end: number): number[];
|
||||
static numberArrayStep(start: number, end: number, step?: number): number[];
|
||||
static numberArrayStep(start: number, end?: number, step?: number): number[];
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue