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.
 
 
 
 
 
 

30 lines
977 B

//========= Copyright Valve Corporation, All rights reserved. ============//
// eyeball_boss_launch_rockets.h
// The 2011 Halloween Boss
// Michael Booth, October 2011
#ifndef EYEBALL_BOSS_LAUNCH_ROCKETS_H
#define EYEBALL_BOSS_LAUNCH_ROCKETS_H
//---------------------------------------------------------------------------------------------
//---------------------------------------------------------------------------------------------
class CEyeballBossLaunchRockets : public Action< CEyeballBoss >
{
public:
virtual ActionResult< CEyeballBoss > OnStart( CEyeballBoss *me, Action< CEyeballBoss > *priorAction );
virtual ActionResult< CEyeballBoss > Update( CEyeballBoss *me, float interval );
virtual const char *GetName( void ) const { return "LaunchRockets"; } // return name of this action
private:
CountdownTimer m_initialDelayTimer;
CountdownTimer m_launchTimer;
int m_rocketsLeft;
Vector m_lastTargetPosition;
};
#endif // EYEBALL_BOSS_LAUNCH_ROCKETS_H