blob: 37a90745330fd62c8c9d2d62d20e5abd63c65b6f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
//========= 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
|