mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-11 02:28:18 +00:00
3be8a592e5
Purely automatic change. In case of conflict with this change, apply the other change and rerun the formatting to restore it: $ python scripts/fix_style.py
32 lines
670 B
C++
32 lines
670 B
C++
/* (c) Shereef Marzouk. See "licence DDRace.txt" and the readme.txt in the root of the distribution for more information. */
|
|
#ifndef GAME_SERVER_ENTITIES_PLASMA_H
|
|
#define GAME_SERVER_ENTITIES_PLASMA_H
|
|
|
|
#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 // GAME_SERVER_ENTITIES_PLASMA_H
|