export interface StateI { update(delta: number): void enter(): void leave(): void }