From fab18dd80d16500f4e57a957a92289a16c90a871 Mon Sep 17 00:00:00 2001 From: photonstorm Date: Thu, 10 Apr 2014 04:31:27 +0100 Subject: [PATCH] Modified Phaser.Animation.generateFrameNames to make it a static function (fix #701) --- build/phaser.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/phaser.d.ts b/build/phaser.d.ts index 4e81168116..0f8940b7d5 100644 --- a/build/phaser.d.ts +++ b/build/phaser.d.ts @@ -1064,7 +1064,7 @@ declare module Phaser { complete(): void; destroy(): void; - generateFrameNames(prefix: string, start: number, stop: number, suffix?: string, zeroPad?: number): string[]; + static generateFrameNames(prefix: string, start: number, stop: number, suffix?: string, zeroPad?: number): string[]; onPause(): void; onResume(): void; play(frameRate?: number, loop?: boolean, killOnComplete?: boolean): Phaser.Animation; @@ -1635,7 +1635,7 @@ declare module Phaser { rotationDirection: string; sourceSizeH: number; sourceSizeW: number; - spriteSourcesizeH: number; + spriteSourceSizeH: number; spriteSourceSizeW: number; spriteSourceSizeX: number; spriteSourceSizeY: number;