|
group2 0.1.0
CSE 125 Group 2
|
Per-shooter lock state for a Winston-style auto-lock beam. More...
#include <BeamLockState.hpp>
Public Attributes | |
| entt::entity | target {entt::null} |
| Currently locked enemy, or null if none. | |
| float | duration {0.0f} |
| Seconds the current target has been continuously locked. | |
| float | graceTimer {0.0f} |
| Seconds since the target was last in the cone. | |
Per-shooter lock state for a Winston-style auto-lock beam.
| float BeamLockState::duration {0.0f} |
Seconds the current target has been continuously locked.
| float BeamLockState::graceTimer {0.0f} |
Seconds since the target was last in the cone.
Used as a short forgiveness window so a brief loss of lock (target strafes, peeks behind cover, or crosshair micro-jitter) does not reset the damage ramp.
| entt::entity BeamLockState::target {entt::null} |
Currently locked enemy, or null if none.