export interface UIEntity { id: number; update: (frame: number) => any; }