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.

39 lines
1.1 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. #ifndef C_HEADLESS_HATMAN_H
  3. #define C_HEADLESS_HATMAN_H
  4. #include "c_ai_basenpc.h"
  5. //--------------------------------------------------------------------------------------------------------
  6. /**
  7. * The client-side implementation of the Dark Knight
  8. */
  9. class C_HeadlessHatman : public C_NextBotCombatCharacter
  10. {
  11. public:
  12. DECLARE_CLASS( C_HeadlessHatman, C_NextBotCombatCharacter );
  13. DECLARE_CLIENTCLASS();
  14. C_HeadlessHatman();
  15. virtual ~C_HeadlessHatman();
  16. public:
  17. virtual void Spawn( void );
  18. virtual bool IsNextBot() { return true; }
  19. virtual Vector GetObserverCamOrigin( void ); // Return the origin for player observers tracking this target
  20. virtual void FireEvent( const Vector& origin, const QAngle& angles, int event, const char *options );
  21. virtual void ClientThink();
  22. private:
  23. C_HeadlessHatman( const C_HeadlessHatman & ); // not defined, not accessible
  24. HPARTICLEFFECT m_ghostEffect;
  25. HPARTICLEFFECT m_leftEyeEffect;
  26. HPARTICLEFFECT m_rightEyeEffect;
  27. };
  28. #endif // C_HEADLESS_HATMAN_H