Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
827 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Molotov grenades
  4. //
  5. // $Workfile: $
  6. // $Date: $
  7. //
  8. //-----------------------------------------------------------------------------
  9. // $Log: $
  10. //
  11. // $NoKeywords: $
  12. //=============================================================================//
  13. #ifndef GRENADEMOLOTOV_H
  14. #define GRENADEMOLOTOV_H
  15. #include "basegrenade_shared.h"
  16. #include "smoke_trail.h"
  17. class CGrenade_Molotov : public CBaseGrenade
  18. {
  19. public:
  20. DECLARE_CLASS( CGrenade_Molotov, CBaseGrenade );
  21. virtual void Spawn( void );
  22. virtual void Precache( void );
  23. virtual void Detonate( void );
  24. void MolotovTouch( CBaseEntity *pOther );
  25. void MolotovThink( void );
  26. protected:
  27. SmokeTrail *m_pFireTrail;
  28. DECLARE_DATADESC();
  29. };
  30. #endif //GRENADEMOLOTOV_H