import { Table } from '../vpt/table/table'; import { IPlayable } from './iplayable'; /** * Animatables are like movables but their position is only updated * once per frame, whereas movables get updated every tick (usually * at 1000fps). * * Classes that implement this interface usually take their code from * Visual Pinball's `RenderDynamic()` method. */ export interface IAnimatable extends IPlayable { getAnimation(): IAnimation; } export interface IAnimation { init(timeMsec: number): void; updateAnimation(timeMsec: number, table: Table): void; } export declare function isAnimatable(arg: any): arg is IAnimatable;