UNPKG

url-animations

Version:
19 lines (18 loc) 443 B
import BaseAnimation from './base'; interface State { frameRate: number; index: number; frames: string[]; pastTimeStamp: number; } declare class Custom implements BaseAnimation { name: string; creator: string; baseState: State; constructor(frames?: string[], frameRate?: number); nextState(timestamp: number, state: State): { nextFrame: string; state: State; }; } export default Custom;