Log inGet started
Package

api.module

README.md

wavePreviewKit.api

The public face of wavePreviewKit: local WP = require("wavePreviewKit.api"). Shows the per-peer wave preview HUD (show, hide, setStyle, setAnchor, setTheme), takes the waves (setWaves, setKinds) and the game state (setState), reports the player asking for the next wave (onCall: button, key, pad button or touch) and can follow a spawnerKit Spawner (bindSpawner). It runs one light system loop per peer while shown: it reads input, polls a bound spawner five times a second, and rebuilds the wpk_hud screen only when what it shows changes. Game code calls it; the WavePreview component and the gallery call it too. See the package README for every function.