Skip to content

Commit 86c8704

Browse files
Handful of updates. Fixes phaserjs#1877 thanks @sanchopancho13
1 parent 92f2742 commit 86c8704

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

typescript/phaser.d.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,7 @@ declare module Phaser {
12041204
plugins: PluginManager;
12051205
preserveDrawingBuffer: Boolean;
12061206
raf: Phaser.RequestAnimationFrame;
1207-
renderer: number;
1207+
renderer: PIXI.CanvasRenderer | PIXI.WebGLRenderer;
12081208
renderType: number;
12091209
resolution: number;
12101210
rnd: Phaser.RandomDataGenerator;
@@ -1527,7 +1527,7 @@ declare module Phaser {
15271527
forEachDead(callback: Function, callbackContext: any, ...args: any[]): void;
15281528
forEachExists(callback: Function, callbackContext: any): void;
15291529
filter(predicate: Function, checkExists?: boolean): ArraySet;
1530-
getAt(index: number): any;
1530+
getAt(index: number): PIXI.DisplayObject | number;
15311531
getBottom(): any;
15321532
getFirstAlive(): any;
15331533
getFirstDead(): any;
@@ -1639,7 +1639,7 @@ declare module Phaser {
16391639
imageMargin: number;
16401640
imageSpacing: number;
16411641
properties: any;
1642-
images: array;
1642+
images: any[];
16431643
total: number;
16441644

16451645
addImage(gid: number, image: string): void;
@@ -4494,6 +4494,7 @@ declare module Phaser {
44944494
height: number;
44954495
heightInPixels: number;
44964496
images: any[];
4497+
imagecollections: ImageCollection[];
44974498
key: string;
44984499
layer: Phaser.TilemapLayer[];
44994500
layers: any[];

0 commit comments

Comments
 (0)