/** * For timing of delayed events */ export declare class Delay { private time; private next_pop; private line; private _action; /** * @param line A space separated mix of event names and delay timings * * `.set_line('500 spawn')` will fire a `spawn` event after 500ms * * `.set_line('500')` will fire an `end` event after 500ms */ set_line(line: string): this; /** * Query the fired events in the update loop with `delay.action` */ get action(): string; /** * Call this in your update loop * @param delta in milliseconds */ update(delta: number): void; } //# sourceMappingURL=delay.d.ts.map