DDraceNetwork Docs
dragger.h
Go to the documentation of this file.
1/* (c) Shereef Marzouk. See "licence DDRace.txt" and the readme.txt in the root of the distribution for more information. */
2#ifndef GAME_CLIENT_PREDICTION_ENTITIES_DRAGGER_H
3#define GAME_CLIENT_PREDICTION_ENTITIES_DRAGGER_H
4
6
7class CLaserData;
8
9class CDragger : public CEntity
10{
15
17 void DraggerBeamTick();
18 void DraggerBeamReset();
19
20public:
21 CDragger(CGameWorld *pGameWorld, int Id, const CLaserData *pData);
22 bool Match(CDragger *pDragger);
23 void Read(const CLaserData *pData);
24 float GetStrength() { return m_Strength; }
25
26 void Tick() override;
27};
28
29#endif // GAME_CLIENT_PREDICTION_ENTITIES_DRAGGER_H
Definition: dragger.h:10
float GetStrength()
Definition: dragger.h:24
int m_TargetId
Definition: dragger.h:14
float m_Strength
Definition: dragger.h:12
void Read(const CLaserData *pData)
Definition: dragger.cpp:151
void Tick() override
Definition: dragger.cpp:12
vec2 m_Core
Definition: dragger.h:11
void DraggerBeamTick()
Definition: dragger.cpp:95
CDragger(CGameWorld *pGameWorld, int Id, const CLaserData *pData)
Definition: dragger.cpp:131
void DraggerBeamReset()
Definition: dragger.cpp:90
bool Match(CDragger *pDragger)
Definition: dragger.cpp:157
bool m_IgnoreWalls
Definition: dragger.h:13
void LookForPlayersToDrag()
Definition: dragger.cpp:30
Definition: entity.h:13
Definition: gameworld.h:17
Definition: laser_data.h:13