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
1.0 KiB
28 lines
1.0 KiB
//========= Copyright Valve Corporation, All rights reserved. ============// |
|
// eyeball_boss_emote.h |
|
// The 2011 Halloween Boss - play an animation |
|
// Michael Booth, October 2011 |
|
|
|
#ifndef EYEBALL_BOSS_EMOTE_H |
|
#define EYEBALL_BOSS_EMOTE_H |
|
|
|
//--------------------------------------------------------------------------------------------- |
|
//--------------------------------------------------------------------------------------------- |
|
class CEyeballBossEmote : public Action< CEyeballBoss > |
|
{ |
|
public: |
|
CEyeballBossEmote( int animationSequence, const char *soundName, Action< CEyeballBoss > *nextAction = NULL ); |
|
virtual ~CEyeballBossEmote() { } |
|
|
|
virtual ActionResult< CEyeballBoss > OnStart( CEyeballBoss *me, Action< CEyeballBoss > *priorAction ); |
|
virtual ActionResult< CEyeballBoss > Update( CEyeballBoss *me, float interval ); |
|
|
|
virtual const char *GetName( void ) const { return "Emote"; } // return name of this action |
|
|
|
private: |
|
int m_animationSequence; |
|
const char *m_soundName; |
|
Action< CEyeballBoss > *m_nextAction; |
|
}; |
|
|
|
#endif // EYEBALL_BOSS_EMOTE_H
|
|
|