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.2 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. //
  4. //
  5. //=============================================================================
  6. #ifndef C_MERASMUS_H
  7. #define C_MERASMUS_H
  8. #include "c_ai_basenpc.h"
  9. //--------------------------------------------------------------------------------------------------------
  10. /**
  11. * The client-side implementation of the Dark Knight
  12. */
  13. class C_Merasmus : public C_NextBotCombatCharacter
  14. {
  15. public:
  16. DECLARE_CLASS( C_Merasmus, C_NextBotCombatCharacter );
  17. DECLARE_CLIENTCLASS();
  18. C_Merasmus();
  19. virtual ~C_Merasmus();
  20. public:
  21. virtual void Spawn( void );
  22. virtual bool IsNextBot() { return true; }
  23. virtual Vector GetObserverCamOrigin( void ); // Return the origin for player observers tracking this target
  24. virtual void OnPreDataChanged( DataUpdateType_t updateType );
  25. virtual void OnDataChanged( DataUpdateType_t updateType );
  26. virtual int GetSkin();
  27. private:
  28. C_Merasmus( const C_Merasmus & ); // not defined, not accessible
  29. HPARTICLEFFECT m_ghostEffect;
  30. HPARTICLEFFECT m_aoeEffect;
  31. HPARTICLEFFECT m_stunEffect;
  32. bool m_bWasRevealed;
  33. CNetworkVar( bool, m_bRevealed );
  34. CNetworkVar( bool, m_bIsDoingAOEAttack );
  35. CNetworkVar( bool, m_bStunned );
  36. };
  37. #endif // C_MERASMUS_H