diff options
Diffstat (limited to 'game/server/tf/trigger_passtime_ball.h')
| -rw-r--r-- | game/server/tf/trigger_passtime_ball.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/game/server/tf/trigger_passtime_ball.h b/game/server/tf/trigger_passtime_ball.h new file mode 100644 index 0000000..eca1b78 --- /dev/null +++ b/game/server/tf/trigger_passtime_ball.h @@ -0,0 +1,33 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef TRIGGER_PASSTIME_BALL_H +#define TRIGGER_PASSTIME_BALL_H +#ifdef _WIN32 +#pragma once +#endif + +#include "baseentity.h" + +//----------------------------------------------------------------------------- +class CTriggerPasstimeBall : public CBaseEntity +{ +public: + DECLARE_CLASS( CTriggerPasstimeBall, CBaseEntity ); + DECLARE_DATADESC(); + virtual void Spawn() OVERRIDE; + +private: + void Update(); + bool BTouching( CBaseEntity *pEnt ); + + bool m_bPresent; + COutputEvent m_onBallEnter; + COutputEvent m_onBallExit; +}; + +#endif // TRIGGER_PASSTIME_BALL_H |