source-engine/game/server/hl2/grenade_molotov.h
FluorescentCIAAfricanAmerican 3bf9df6b27 1
2020-04-22 12:56:21 -04:00

39 lines
827 B
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Molotov grenades
//
// $Workfile: $
// $Date: $
//
//-----------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//=============================================================================//
#ifndef GRENADEMOLOTOV_H
#define GRENADEMOLOTOV_H
#include "basegrenade_shared.h"
#include "smoke_trail.h"
class CGrenade_Molotov : public CBaseGrenade
{
public:
DECLARE_CLASS( CGrenade_Molotov, CBaseGrenade );
virtual void Spawn( void );
virtual void Precache( void );
virtual void Detonate( void );
void MolotovTouch( CBaseEntity *pOther );
void MolotovThink( void );
protected:
SmokeTrail *m_pFireTrail;
DECLARE_DATADESC();
};
#endif //GRENADEMOLOTOV_H