diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/client/tf/halloween/c_headless_hatman.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/client/tf/halloween/c_headless_hatman.h')
| -rw-r--r-- | game/client/tf/halloween/c_headless_hatman.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/game/client/tf/halloween/c_headless_hatman.h b/game/client/tf/halloween/c_headless_hatman.h new file mode 100644 index 0000000..0fab53e --- /dev/null +++ b/game/client/tf/halloween/c_headless_hatman.h @@ -0,0 +1,39 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +#ifndef C_HEADLESS_HATMAN_H +#define C_HEADLESS_HATMAN_H + +#include "c_ai_basenpc.h" + + +//-------------------------------------------------------------------------------------------------------- +/** + * The client-side implementation of the Dark Knight + */ +class C_HeadlessHatman : public C_NextBotCombatCharacter +{ +public: + DECLARE_CLASS( C_HeadlessHatman, C_NextBotCombatCharacter ); + DECLARE_CLIENTCLASS(); + + C_HeadlessHatman(); + virtual ~C_HeadlessHatman(); + +public: + virtual void Spawn( void ); + virtual bool IsNextBot() { return true; } + + virtual Vector GetObserverCamOrigin( void ); // Return the origin for player observers tracking this target + + virtual void FireEvent( const Vector& origin, const QAngle& angles, int event, const char *options ); + + virtual void ClientThink(); + +private: + C_HeadlessHatman( const C_HeadlessHatman & ); // not defined, not accessible + + HPARTICLEFFECT m_ghostEffect; + HPARTICLEFFECT m_leftEyeEffect; + HPARTICLEFFECT m_rightEyeEffect; +}; + +#endif // C_HEADLESS_HATMAN_H |