group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
BeamLockState.hpp
Go to the documentation of this file.
1
9
10#pragma once
11
12#include <entt/entity/entity.hpp>
13
16{
17 entt::entity target{entt::null};
18 float duration{0.0f};
22 float graceTimer{0.0f};
23};
Per-shooter lock state for a Winston-style auto-lock beam.
Definition BeamLockState.hpp:16
float graceTimer
Seconds since the target was last in the cone.
Definition BeamLockState.hpp:22
float duration
Seconds the current target has been continuously locked.
Definition BeamLockState.hpp:18
entt::entity target
Currently locked enemy, or null if none.
Definition BeamLockState.hpp:17