Merge pull request #1576 from gyohk/TweenJS-0.5.1

update to TweenJS v0.5.1.
This commit is contained in:
Basarat Ali Syed
2014-01-19 01:58:42 -08:00
+5 -4
View File
@@ -1,4 +1,4 @@
// Type definitions for TweenJS 0.5.0
// Type definitions for TweenJS 0.5.1
// Project: http://www.createjs.com/#!/TweenJS
// Definitions by: Pedro Ferreira <https://bitbucket.org/drk4>, Chris Smith <https://github.com/evilangelist>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
@@ -82,7 +82,7 @@ declare module createjs {
static priority: any;
//methods
static init(tween: Tween, prop: string, value: any): any;
static init(tween: Tween, prop: string, value: any): any;
static step(tween: Tween, prop: string, startValue: any, injectProps: Object, endValue: any): void;
static install(): void;
static tween(tween: Tween, prop: string, value: any, startValues: Object, endValues: Object, ratio: number, wait: boolean, end: boolean): any;
@@ -100,8 +100,8 @@ declare module createjs {
// methods
addLabel(label: string, position: number): void;
addTween(...tween: Tween[]): void;
getCurrentLabel(): string;
getLabels(): Object[];
getCurrentLabel(): string;
getLabels(): Object[];
gotoAndPlay(positionOrLabel: string): void;
gotoAndPlay(positionOrLabel: number): void;
gotoAndStop(positionOrLabel: string): void;
@@ -148,6 +148,7 @@ declare module createjs {
setPaused(value: boolean): Tween;
setPosition(value: number, actionsMode: number): boolean;
static tick(delta: number, paused: boolean): void;
tick(delta: number, paused: boolean): void;
tick(delta: number): void;
to(props: Object, duration?: number, ease?: (t: number) => number): Tween;
wait(duration: number, passive?: boolean): Tween;