Bastion Works: Towers, Turrets and Targeting Kit
README.md
projectileKit.Runner
Ticks the projectile loop once a frame while the game runs. projectileKit.api spawns
one Runner on a local, temporary entity the first time anything is fired, so a world
never adds it by hand.
Behaviour
update(dt)callsprojectileKit.api.step(dt), which moves every live shot and fires its hit/arrive/expire callbacks.onDestroy()callsprojectileKit.api.clear(true), removing every shot and the pooled render entities.
Public fields
None (public = {}).