Implement linear gun module #170
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Question
Create
common_libs/guns/linear.nim. Predict enemy continues at current velocity and heading.predict(): extrapolate enemy position forward by ticksToArrive = distance / bulletSpeed. Uses enemy heading + velocity. Returns absolute (x, y).
onResult() is a no-op. No learning.
Blocked by #166 — Gun trait and WorldState must be defined first.
Superseded by vertical-slice tickets — see map #165.