mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-13 11:38:19 +00:00
72e05efc53
Added Speed Setters to speedup layer Added Unfreeze Plasma Supposedly Fixed Crazy Shotgun (needs Testing) Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
32 lines
492 B
C++
32 lines
492 B
C++
/* copyright (c) 2007 magnus auvinen, see licence.txt for more info */
|
|
|
|
#ifndef CGun_TYPE
|
|
#define CGun_TYPE
|
|
|
|
#include <game/server/entity.h>
|
|
#include <game/gamecore.h>
|
|
|
|
class CCharacter;
|
|
|
|
class CGun : public CEntity
|
|
{
|
|
int m_EvalTick;
|
|
|
|
vec2 m_Core;
|
|
int m_Freeze;
|
|
bool m_Explosive;
|
|
|
|
void Fire();
|
|
int m_Delay;
|
|
|
|
public:
|
|
CGun(CGameWorld *pGameWorld, vec2 Pos, int Freeze, bool Explosive);
|
|
|
|
virtual void Reset();
|
|
virtual void Tick();
|
|
virtual void Snap(int SnappingClient);
|
|
};
|
|
|
|
|
|
#endif
|