From dac4372072c3674f24781d92fe7c53d7fcc470dd Mon Sep 17 00:00:00 2001 From: Avery Morin Date: Fri, 2 Jan 2015 18:12:50 -0500 Subject: [PATCH] Fix small typescript issue with Emitter.setAlpha() --- typescript/phaser.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/phaser.d.ts b/typescript/phaser.d.ts index 58562e27e..8b8e06963 100644 --- a/typescript/phaser.d.ts +++ b/typescript/phaser.d.ts @@ -2269,7 +2269,7 @@ declare module Phaser { kill(): void; makeParticles(keys: any, frames?: any, quantity?: number, collide?: boolean, collideWorldBounds?: boolean): Phaser.Particles.Arcade.Emitter; reset(x: number, y: number, health?: number): Phaser.Particles; - setAlpha(min?: number, max?: number, rate?: number, ease?: number, yoyo?: boolean): void; + setAlpha(min?: number, max?: number, rate?: number, ease?: (k: number) => number, yoyo?: boolean): void; setRotation(min?: number, max?: number): void; setScale(minX?: number, maxX?: number, minY?: number, maxY?: number, rate?: number, ease?: (k: number) => number, yoyo?: boolean): void; setSize(width: number, height: number): void;