summaryrefslogtreecommitdiff
path: root/game/client/tf/bot_npc/c_bot_npc_minion.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/client/tf/bot_npc/c_bot_npc_minion.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'game/client/tf/bot_npc/c_bot_npc_minion.h')
-rw-r--r--game/client/tf/bot_npc/c_bot_npc_minion.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/game/client/tf/bot_npc/c_bot_npc_minion.h b/game/client/tf/bot_npc/c_bot_npc_minion.h
new file mode 100644
index 0000000..0f0be2d
--- /dev/null
+++ b/game/client/tf/bot_npc/c_bot_npc_minion.h
@@ -0,0 +1,41 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+#ifndef C_BOT_NPC_MINION_H
+#define C_BOT_NPC_MINION_H
+
+#include "c_ai_basenpc.h"
+
+
+//--------------------------------------------------------------------------------------------------------
+/**
+ * The client-side implementation of Bot NPC Minion
+ */
+class C_BotNPCMinion : public C_NextBotCombatCharacter
+{
+public:
+ DECLARE_CLASS( C_BotNPCMinion, C_NextBotCombatCharacter );
+ DECLARE_CLIENTCLASS();
+
+ C_BotNPCMinion();
+ virtual ~C_BotNPCMinion();
+
+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_BotNPCMinion( const C_BotNPCMinion & ); // not defined, not accessible
+
+ CNetworkHandle( C_BaseEntity, m_stunTarget );
+ HPARTICLEFFECT m_stunEffect;
+ HPARTICLEFFECT m_stunBeamEffect;
+ HPARTICLEFFECT m_scanEffect;
+};
+
+
+#endif // C_BOT_NPC_MINION_H