summaryrefslogtreecommitdiff
path: root/game/server/tf/bot/behavior/tf_bot_dead.h
blob: 796db43811bf8fb5e160fc892fd6a7ced4da6655 (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
//========= Copyright Valve Corporation, All rights reserved. ============//
// tf_bot_dead.h
// Push up daisies
// Michael Booth, May 2009

#ifndef TF_BOT_DEAD_H
#define TF_BOT_DEAD_H

#include "Path/NextBotChasePath.h"

class CTFBotDead : 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 "Dead"; };

private:
	IntervalTimer m_deadTimer;
};

#endif // TF_BOT_DEAD_H