summaryrefslogtreecommitdiff
path: root/game/server/tf2/tf_obj_barbed_wire.h
blob: c897d228d3bd4366f6df45676c6767b0b2427944 (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
34
35
36
37
38
39
40
41
42
43
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: 
//
//=============================================================================//

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


#include "tf_obj.h"


class CObjectBarbedWire : public CBaseObject
{
public:
	DECLARE_CLASS( CObjectBarbedWire, CBaseObject );
	DECLARE_SERVERCLASS();


	CObjectBarbedWire();

	
	void BarbedWireThink();

	virtual void Precache();
	virtual void Spawn();

	virtual void StartPlacement( CBaseTFPlayer *pPlayer );

	virtual bool PreStartBuilding();
	virtual void FinishedBuilding();

private:
	CNetworkHandle( CObjectBarbedWire, m_hConnectedTo );
		
};


#endif // TF_OBJ_BARBED_WIRE_H