|
group2 0.1.0
CSE 125 Group 2
|
Server-side lock-on state for auto-lock beam weapons (Tesla Cannon). More...
#include <entt/entity/entity.hpp>Go to the source code of this file.
Classes | |
| struct | BeamLockState |
| Per-shooter lock state for a Winston-style auto-lock beam. More... | |
Server-side lock-on state for auto-lock beam weapons (Tesla Cannon).
Tracks which target the shooter's auto-lock beam is currently fixed on and for how long, so damage can ramp while the lock is held and reset the instant it breaks. This is server-authoritative gameplay state and is intentionally NOT part of the network-synced component set — clients only need BeamState (origin + hitPoint) to draw the beam.