sqwarmed/sdk_src/game/server/swarm/asw_grenade_freeze.h

25 lines
755 B
C
Raw Normal View History

2024-08-29 19:18:30 -04:00
#ifndef _INCLUDED_ASW_GRENADE_FREEZE_H
#define _INCLUDED_ASW_GRENADE_FREEZE_H
#ifdef _WIN32
#pragma once
#endif
#include "asw_grenade_cluster.h"
class CASW_Grenade_Freeze : public CASW_Grenade_Cluster
{
public:
DECLARE_CLASS( CASW_Grenade_Freeze, CASW_Grenade_Cluster );
DECLARE_DATADESC();
virtual void Precache();
virtual void DoExplosion();
virtual void CreateEffects();
static CASW_Grenade_Freeze *Freeze_Grenade_Create( float flDamage, float flFreezeAmount, float fRadius, int iClusters, const Vector &position, const QAngle &angles, const Vector &velocity, const AngularImpulse &angVelocity, CBaseEntity *pOwner, CBaseEntity *pCreatorWeapon );
float m_flFreezeAmount;
};
#endif // _INCLUDED_ASW_GRENADE_FREEZE_H