summaryrefslogtreecommitdiff
path: root/game/server/tf/func_passtime_no_ball_zone.h
blob: fa372ec1e9149ab4906580afa2ae84aae354f06f (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
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: 
//
// $NoKeywords: $
//=============================================================================//

#ifndef FUNC_PASSTIME_NO_BALL_ZONE_H
#define FUNC_PASSTIME_NO_BALL_ZONE_H
#ifdef _WIN32
#pragma once
#endif

#include "triggers.h"
#include "util.h"

extern bool EntityIsInNoBallZone( CBaseEntity *pTarget );

DECLARE_AUTO_LIST( IFuncPasstimeNoBallZoneAutoList );

class CFuncPasstimeNoBallZone : public CBaseTrigger, public IFuncPasstimeNoBallZoneAutoList
{
public:
	DECLARE_CLASS( CFuncPasstimeNoBallZone, CBaseTrigger );
	DECLARE_DATADESC();
	virtual void Spawn() OVERRIDE;
};

#endif // FUNC_PASSTIME_NO_BALL_ZONE_H