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.
32 lines
778 B
32 lines
778 B
//========= Copyright Valve Corporation, All rights reserved. ============// |
|
// |
|
// |
|
// |
|
//============================================================================= |
|
#ifndef TF_MERASMUS_ZAP_H |
|
#define TF_MERASMUS_ZAP_H |
|
|
|
#include "tf_gamerules.h" |
|
|
|
class CMerasmusZap : public Action< CMerasmus > |
|
{ |
|
public: |
|
virtual ActionResult< CMerasmus > OnStart( CMerasmus *me, Action< CMerasmus > *priorAction ); |
|
virtual ActionResult< CMerasmus > Update( CMerasmus *me, float interval ); |
|
|
|
virtual const char *GetName( void ) const { return "Zap!"; } // return name of this action |
|
private: |
|
enum SpellType_t |
|
{ |
|
SPELL_FIRE, |
|
SPELL_LAUNCH, |
|
|
|
SPELL_COUNT |
|
}; |
|
SpellType_t m_spellType; |
|
void PlayCastSound( CMerasmus* me ) const; |
|
|
|
CountdownTimer m_zapTimer; |
|
}; |
|
|
|
#endif //TF_MERASMUS_ZAP_H
|
|
|