mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-23 22:56:50 +00:00
39 lines
827 B
C++
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
|