3#ifndef GAME_CLIENT_PREDICTION_ENTITIES_LASER_H
4#define GAME_CLIENT_PREDICTION_ENTITIES_LASER_H
Definition: gameworld.h:17
Definition: laser_data.h:13
int m_Bounces
Definition: laser.h:34
void Tick() override
Definition: laser.cpp:165
void DoBounce()
Definition: laser.cpp:92
vec2 m_PrevPos
Definition: laser.h:41
CLaserData GetData() const
Definition: laser.cpp:215
bool HitCharacter(vec2 From, vec2 To)
Definition: laser.cpp:30
const vec2 & GetFrom()
Definition: laser.h:19
CLaser(CGameWorld *pGameWorld, vec2 Pos, vec2 Direction, float StartEnergy, int Owner, int Type)
Definition: laser.cpp:12
int m_Type
Definition: laser.h:42
bool m_ZeroEnergyBounceInLastTick
Definition: laser.h:37
float m_Energy
Definition: laser.h:33
int m_TuneZone
Definition: laser.h:43
vec2 m_From
Definition: laser.h:31
bool Match(CLaser *pLaser)
Definition: laser.cpp:203
const int & GetOwner()
Definition: laser.h:20
int m_Owner
Definition: laser.h:36
vec2 m_Dir
Definition: laser.h:32
int m_EvalTick
Definition: laser.h:35
const int & GetEvalTick()
Definition: laser.h:21