summaryrefslogtreecommitdiff
path: root/game/shared/tf/tf_weapon_flag.h
blob: 83144692beefc8f0fdb3070e8cfa739ed30d9248 (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_WEAPON_FLAG_H
#define TF_WEAPON_FLAG_H
#ifdef _WIN32
#pragma once
#endif

#include "tf_weaponbase_melee.h"

#ifdef CLIENT_DLL
#define CTFFlag C_TFFlag
#endif

//=============================================================================
//
// Bottle class.
//
class CTFFlag : public CTFWeaponBaseMelee
{
public:

	DECLARE_CLASS( CTFFlag, CTFWeaponBaseMelee );
	DECLARE_NETWORKCLASS(); 
	DECLARE_PREDICTABLE();

	CTFFlag();
	virtual int			GetWeaponID( void ) const			{ return TF_WEAPON_FLAG; }
	virtual void		SecondaryAttack();
	bool				Deploy( void );

	virtual bool		CanDrop( void ) { return true; }

private:

	CTFFlag( const CTFFlag & ) {}
};

#endif // TF_WEAPON_FLAG_H