sendWave beta
Function of @v12-engine/engine
ts
export declare function sendWave(world: World, spawner: number, options: Partial<LanesOptions>): Entity[];Sends a spawner's next wave now, whatever its timer, as the game's lanes say (LanesOptions): for scripts, tests and debug tools. Its units come out by the spawner, walk the lane fighting what they meet (attackPath), then go for the goal at its far end. Gives back the units, none for a spawner on no lane