Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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.
 
 
 
 
 
 

26 lines
694 B

//========= Copyright Valve Corporation, All rights reserved. ============//
// tf_bot_taunt.h
// Stand still and play a taunt animation
// Michael Booth, November 2009
#ifndef TF_BOT_TAUNT_H
#define TF_BOT_TAUNT_H
//-----------------------------------------------------------------------------
class CTFBotTaunt : public Action< CTFBot >
{
public:
virtual ActionResult< CTFBot > OnStart( CTFBot *me, Action< CTFBot > *priorAction );
virtual ActionResult< CTFBot > Update( CTFBot *me, float interval );
virtual const char *GetName( void ) const { return "Taunt"; };
private:
CountdownTimer m_tauntTimer;
CountdownTimer m_tauntEndTimer;
bool m_didTaunt;
};
#endif // TF_BOT_TAUNT_H