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.

30 lines
763 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef C_BREAKABLEPROP_H
  7. #define C_BREAKABLEPROP_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. //-----------------------------------------------------------------------------
  12. // Purpose:
  13. //-----------------------------------------------------------------------------
  14. class C_BreakableProp : public C_BaseAnimating
  15. {
  16. typedef C_BaseAnimating BaseClass;
  17. public:
  18. DECLARE_CLIENTCLASS();
  19. C_BreakableProp();
  20. virtual void SetFadeMinMax( float fademin, float fademax );
  21. // Copy fade from another breakable prop
  22. void CopyFadeFrom( C_BreakableProp *pSource );
  23. };
  24. #endif // C_BREAKABLEPROP_H