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.

42 lines
1.0 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef C_TF_PROJECTILE_ENERGY_BALL_H
  7. #define C_TF_PROJECTILE_ENERGY_BALL_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "tf_weaponbase_rocket.h"
  12. #define CTFProjectile_EnergyBall C_TFProjectile_EnergyBall
  13. //-----------------------------------------------------------------------------
  14. // Purpose: EnergyBall projectile.
  15. //-----------------------------------------------------------------------------
  16. class C_TFProjectile_EnergyBall : public C_TFBaseRocket
  17. {
  18. DECLARE_CLASS( C_TFProjectile_EnergyBall, C_TFBaseRocket );
  19. public:
  20. DECLARE_NETWORKCLASS();
  21. C_TFProjectile_EnergyBall();
  22. ~C_TFProjectile_EnergyBall();
  23. virtual void CreateTrails( void );
  24. virtual const char *GetTrailParticleName( void );
  25. private:
  26. CNewParticleEffect *pEffect;
  27. bool m_bChargedShot;
  28. Vector m_vColor1;
  29. Vector m_vColor2;
  30. };
  31. #endif // C_TF_PROJECTILE_ENERGY_BALL_H