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.
28 lines
869 B
28 lines
869 B
//========= Copyright Valve Corporation, All rights reserved. ============// |
|
// boss_alpha_guard_spot.h |
|
// Michael Booth, November 2010 |
|
|
|
#include "cbase.h" |
|
|
|
#ifdef TF_RAID_MODE |
|
|
|
#include "nav_mesh/tf_path_follower.h" |
|
|
|
//--------------------------------------------------------------------------------------------- |
|
class CBossAlphaGuardSpot : public Action< CBossAlpha > |
|
{ |
|
public: |
|
virtual ActionResult< CBossAlpha > OnStart( CBossAlpha *me, Action< CBossAlpha > *priorAction ); |
|
virtual ActionResult< CBossAlpha > Update( CBossAlpha *me, float interval ); |
|
virtual EventDesiredResult< CBossAlpha > OnInjured( CBossAlpha *me, const CTakeDamageInfo &info ); |
|
|
|
virtual const char *GetName( void ) const { return "GuardSpot"; } // return name of this action |
|
|
|
private: |
|
CTFPathFollower m_path; |
|
CountdownTimer m_lookTimer; |
|
Vector m_lookAtSpot; |
|
}; |
|
|
|
|
|
#endif // TF_RAID_MODE
|
|
|