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.
31 lines
947 B
31 lines
947 B
4 years ago
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
// boss_alpha_behavior.h
|
||
|
// Michael Booth, November 2010
|
||
|
|
||
|
#ifndef BOSS_ALPHA_BEHAVIOR_H
|
||
|
#define BOSS_ALPHA_BEHAVIOR_H
|
||
|
|
||
|
#ifdef TF_RAID_MODE
|
||
|
|
||
|
//---------------------------------------------------------------------------------------------
|
||
|
class CBossAlphaBehavior : public Action< CBossAlpha >
|
||
|
{
|
||
|
public:
|
||
|
virtual Action< CBossAlpha > *InitialContainedAction( CBossAlpha *me );
|
||
|
|
||
|
virtual ActionResult< CBossAlpha > Update( CBossAlpha *me, float interval );
|
||
|
|
||
|
virtual EventDesiredResult< CBossAlpha > OnKilled( CBossAlpha *me, const CTakeDamageInfo &info );
|
||
|
virtual EventDesiredResult< CBossAlpha > OnContact( CBossAlpha *me, CBaseEntity *other, CGameTrace *result = NULL );
|
||
|
|
||
|
virtual const char *GetName( void ) const { return "Behavior"; } // return name of this action
|
||
|
|
||
|
private:
|
||
|
CountdownTimer m_vocalTimer;
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif // TF_RAID_MODE
|
||
|
|
||
|
#endif // BOSS_ALPHA_BEHAVIOR_H
|