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
869 B
26 lines
869 B
4 years ago
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//=============================================================================
|
||
|
#ifndef ZOMBIE_SPECIAL_ATTACK_H
|
||
|
#define ZOMBIE_SPECIAL_ATTACK_H
|
||
|
|
||
|
//---------------------------------------------------------------------------------------------
|
||
|
//---------------------------------------------------------------------------------------------
|
||
|
class CZombieSpecialAttack : public Action< CZombie >
|
||
|
{
|
||
|
public:
|
||
|
virtual ActionResult< CZombie > OnStart( CZombie *me, Action< CZombie > *priorAction );
|
||
|
virtual ActionResult< CZombie > Update( CZombie *me, float interval );
|
||
|
|
||
|
virtual const char *GetName( void ) const { return "Special Attack"; } // return name of this action
|
||
|
private:
|
||
|
|
||
|
void DoSpecialAttack( CZombie *me );
|
||
|
|
||
|
CountdownTimer m_stompTimer;
|
||
|
};
|
||
|
|
||
|
#endif // ZOMBIE_SPECIAL_ATTACK_H
|