mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #606 from studiollama/patch-1
Added gotoAndStop to BitmapAnimation in easeljs.d.ts and declare to modu...
This commit is contained in:
Vendored
+6
-4
@@ -11,14 +11,14 @@
|
||||
*/
|
||||
|
||||
|
||||
/// <reference path="../tweenjs/tweenjs.d.ts" />
|
||||
/// <reference path="tweenjs.d.ts" />
|
||||
|
||||
// rename the native MouseEvent, to avoid conflit with createjs's MouseEvent
|
||||
interface NativeMouseEvent extends MouseEvent {
|
||||
|
||||
}
|
||||
|
||||
module createjs {
|
||||
declare module createjs {
|
||||
// :: base classes :: //
|
||||
|
||||
export class DisplayObject {
|
||||
@@ -155,13 +155,15 @@ module createjs {
|
||||
spriteSheet: SpriteSheet;
|
||||
|
||||
// methods
|
||||
constructor (spriteSheet: SpriteSheet);
|
||||
constructor(spriteSheet: SpriteSheet);
|
||||
advance(): void;
|
||||
cache(): void;
|
||||
clone(): BitmapAnimation;
|
||||
getBounds(): Rectangle;
|
||||
gotoAndPlay(frameOrAnimation: string): void;
|
||||
gotoAndPlay(frameOrAnimation: number): void;
|
||||
gotoAndStop(frameOrAnimation: string): void;
|
||||
gotoAndStop (frameOrAnimation: number): void;
|
||||
play(): void;
|
||||
stop(): void;
|
||||
updateCache(): void;
|
||||
@@ -695,4 +697,4 @@ module createjs {
|
||||
// methods
|
||||
static get(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user