mylingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
17 lines (16 loc) • 935 B
TypeScript
import AnimationManager from "../display/core/AnimatedObjectManager/AnimationManager";
import { ExtractProps } from "./utils/extractProps";
import Nullable from "./utils/Nullable";
import Defaults from "./utils/Defaults";
import IStaticObjectManager from "./IStaticObjectManaget";
export type AnimationValue = Record<string, Array<number>>;
export type Animation = string | number | Array<string | number> | boolean | AnimationValue;
export default interface IAnimatedObjectManager extends IStaticObjectManager {
animations: Record<string, string | AnimationManager>;
animation: Nullable<Animation>;
animationPaused: Nullable<boolean>;
animationRepeat: Nullable<boolean>;
onAnimationFinish: Nullable<() => void>;
}
export declare const animatedObjectManagerSchema: Required<ExtractProps<IAnimatedObjectManager>>;
export declare const animatedObjectManagerDefaults: Defaults<IAnimatedObjectManager>;