This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
2020-08-04 13:13:01 -04:00

37 lines
841 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