From c2d596997c796777c5504bedbc5b750fbe3caa03 Mon Sep 17 00:00:00 2001 From: Calvin Davis Date: Mon, 18 Jul 2016 17:21:02 +0100 Subject: [PATCH] Fixed optional alpha parameter in interpolateColor. --- 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 a3147fe5c..0980b4201 100644 --- a/typescript/phaser.d.ts +++ b/typescript/phaser.d.ts @@ -755,7 +755,7 @@ declare module Phaser { static HSVtoRGB(h: number, s: number, v: number, out?: ColorComponents): ColorComponents; static HSVColorWheel(s?: number, v?: number): ColorComponents[]; static hueToColor(p: number, q: number, t: number): number; - static interpolateColor(color1: number, color2: number, steps: number, currentStep: number, alpha: number): number; + static interpolateColor(color1: number, color2: number, steps: number, currentStep: number, alpha?: number): number; static interpolateColorWithRGB(color: number, r: number, g: number, b: number, steps: number, currentStep: number): number; static interpolateRGB(r1: number, g1: number, b1: number, r2: number, g2: number, b2: number, steps: number, currentStep: number): number; static packPixel(r: number, g: number, b: number, a: number): number;