blob: eca1b783f4433eb08a9058c4aa8b432fa0a1d62e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
|