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.

32 lines
641 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: CTF GrenadePack.
  4. //
  5. //=============================================================================//
  6. #ifndef ENTITY_GRENADEPACK_H
  7. #define ENTITY_GRENADEPACK_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "tf_powerup.h"
  12. //=============================================================================
  13. //
  14. // CTF GrenadePack class.
  15. //
  16. class CGrenadePack : public CTFPowerup
  17. {
  18. public:
  19. DECLARE_CLASS( CGrenadePack, CTFPowerup );
  20. void Spawn( void );
  21. void Precache( void );
  22. bool MyTouch( CBasePlayer *pPlayer );
  23. };
  24. #endif // ENTITY_GRENADEPACK_H