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

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

#include "tf_obj_baseupgrade_shared.h"

//-----------------------------------------------------------------------------
// Purpose: 
//-----------------------------------------------------------------------------
class C_ObjectSapper : public C_BaseObjectUpgrade
{
	DECLARE_CLASS( C_ObjectSapper, C_BaseObjectUpgrade );
public:
	DECLARE_CLIENTCLASS();

	C_ObjectSapper() {}

	virtual void ClientThink( void );
	virtual void OnDataChanged( DataUpdateType_t type );

	virtual bool	IsHostileUpgrade( void ) { return true; }

	float			GetReversesBuildingConstructionSpeed( void );

private:
	C_ObjectSapper( const C_ObjectSapper & ); // not defined, not accessible
};


#endif // C_OBJ_SAPPER_H