mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 03:58:18 +00:00
427fedb79b
hitted is not a word :p forgot to change from bool to int Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
34 lines
548 B
C++
34 lines
548 B
C++
/* copyright (c) 2007 magnus auvinen, see licence.txt for more info */
|
|
|
|
#ifndef PLASMA_TYPE
|
|
#define PLASMA_TYPE
|
|
|
|
#include <game/server/entity.h>
|
|
|
|
class CGun;
|
|
|
|
class CPlasma : public CEntity
|
|
{
|
|
vec2 m_Core;
|
|
int m_EvalTick;
|
|
int m_LifeTime;
|
|
|
|
int m_ResponsibleTeam;
|
|
int m_Freeze;
|
|
|
|
bool m_Explosive;
|
|
bool HitCharacter();
|
|
void Move();
|
|
public:
|
|
|
|
CPlasma(CGameWorld *pGameWorld, vec2 Pos, vec2 Dir, bool Freeze, bool Explosive, int ResponsibleTeam);
|
|
|
|
|
|
virtual void Reset();
|
|
virtual void Tick();
|
|
virtual void Snap(int SnappingClient);
|
|
};
|
|
|
|
|
|
#endif
|