export invokeAnimation()

This commit is contained in:
yushijinhun 2018-02-09 12:44:12 +08:00
parent 70c2b36339
commit 741dc9e3ef
No known key found for this signature in database
GPG Key ID: 5BC167F73EA558E4
2 changed files with 2 additions and 2 deletions

View File

@ -25,4 +25,4 @@
export { SkinObject, CapeObject, PlayerObject } from "./model"; export { SkinObject, CapeObject, PlayerObject } from "./model";
export { SkinViewer, SkinControl } from "./viewer"; export { SkinViewer, SkinControl } from "./viewer";
export { CompositeAnimation, WalkAnimation } from "./animation"; export { invokeAnimation, CompositeAnimation, WalkAnimation } from "./animation";

View File

@ -6,7 +6,7 @@ interface IAnimation {
} }
export type Animation = AnimationFn | IAnimation; export type Animation = AnimationFn | IAnimation;
declare function invokeAnimation( export function invokeAnimation(
animation: Animation, animation: Animation,
player: PlayerObject, player: PlayerObject,
time: number, time: number,