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
776 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #ifndef C_NEUROTOXIN_COUNTDOWN_H
  9. #define C_NEUROTOXIN_COUNTDOWN_H
  10. #include "cbase.h"
  11. #include "utlvector.h"
  12. class C_NeurotoxinCountdown : public C_BaseEntity
  13. {
  14. public:
  15. DECLARE_CLASS( C_NeurotoxinCountdown, CBaseEntity );
  16. DECLARE_CLIENTCLASS();
  17. C_NeurotoxinCountdown();
  18. virtual ~C_NeurotoxinCountdown();
  19. bool IsEnabled( void ) { return m_bEnabled; }
  20. int GetMinutes( void );
  21. int GetSeconds( void );
  22. int GetMilliseconds( void );
  23. private:
  24. bool m_bEnabled;
  25. };
  26. extern CUtlVector< C_NeurotoxinCountdown* > g_NeurotoxinCountdowns;
  27. #endif //C_NEUROTOXIN_COUNTDOWN_H