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.
27 lines
843 B
27 lines
843 B
//========= Copyright Valve Corporation, All rights reserved. ============// |
|
// Michael Booth, September 2012 |
|
|
|
#ifndef TF_BOT_MVM_ENGINEER_BUILD_TELEPORTER_H |
|
#define TF_BOT_MVM_ENGINEER_BUILD_TELEPORTER_H |
|
|
|
class CTFBotHintTeleporterExit; |
|
|
|
class CTFBotMvMEngineerBuildTeleportExit : public Action< CTFBot > |
|
{ |
|
public: |
|
CTFBotMvMEngineerBuildTeleportExit( CTFBotHintTeleporterExit *hint ); |
|
|
|
virtual ActionResult< CTFBot > OnStart( CTFBot *me, Action< CTFBot > *priorAction ); |
|
virtual ActionResult< CTFBot > Update( CTFBot *me, float interval ); |
|
|
|
virtual const char *GetName( void ) const { return "MvMEngineerBuildTeleportExit"; }; |
|
|
|
private: |
|
CHandle< CTFBotHintTeleporterExit > m_teleporterBuildHint; |
|
|
|
CountdownTimer m_delayBuildTime; |
|
CountdownTimer m_repathTimer; |
|
PathFollower m_path; |
|
}; |
|
|
|
#endif // TF_BOT_MVM_ENGINEER_BUILD_TELEPORTER_H
|
|
|