Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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.
 
 
 
 
 
 

25 lines
869 B

//========= 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