import type { World } from '../World'; /** A simulation step that runs every tick over the world's entities (collisions, behavior graphs, …). */ export interface System { start?(world: World): void; update(world: World, dt: number): void; /** Ticked in a frame a behavior paused as well (#167); the others stand still in it. */ runsWhilePaused?: boolean; stop?(world: World): void; }