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.

49 lines
1.0 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Teleport vortex for the Eyeball Boss
  4. //
  5. //=============================================================================//
  6. #ifndef MERASMUS_DANCE_H
  7. #define MERASMUS_DANCE_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "baseanimating.h"
  12. //=============================================================================
  13. //
  14. // Non-AI version of Merasmus that can be spawned during the dance spell.
  15. //
  16. class CMerasmusDancer : public CBaseAnimating
  17. {
  18. DECLARE_CLASS( CMerasmusDancer, CBaseAnimating );
  19. DECLARE_SERVERCLASS();
  20. public:
  21. CMerasmusDancer();
  22. virtual ~CMerasmusDancer();
  23. void Dance();
  24. void Vanish();
  25. void BlastOff();
  26. private:
  27. virtual void Spawn();
  28. virtual void Precache();
  29. void HideStaff();
  30. void PlaySequence( const char *pSeqName );
  31. void PlayActivity( int iActivity );
  32. void DanceThink();
  33. bool ShouldDelete() const;
  34. bool m_bEmitParticleEffect;
  35. CountdownTimer m_DieCountdownTimer;
  36. };
  37. #endif // MERASMUS_DANCE_H