group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
BeamLockState.hpp File Reference

Server-side lock-on state for auto-lock beam weapons (Tesla Cannon). More...

#include <entt/entity/entity.hpp>
Include dependency graph for BeamLockState.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  BeamLockState
 Per-shooter lock state for a Winston-style auto-lock beam. More...

Detailed Description

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.