aboutsummaryrefslogtreecommitdiff
path: root/sp/src/game/server/grenadethrown.h
blob: 361f13f12a3310eefc87bfd01d3e25daee66402c (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
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Header file for player-thrown grenades.
//
// $Workfile:     $
// $Date:         $
//
//-----------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//=============================================================================//

#ifndef GRENADE_BASE_H
#define GRENADE_BASE_H
#pragma once

#include "basegrenade_shared.h"

class CSprite;

#define GRENADE_TIMER		5		// Try 5 seconds instead of 3?

//-----------------------------------------------------------------------------
// Purpose: Base Thrown-Grenade class
//-----------------------------------------------------------------------------
class CThrownGrenade : public CBaseGrenade
{
public:
	DECLARE_CLASS( CThrownGrenade, CBaseGrenade );

	void	Spawn( void );
	void	Thrown( Vector vecOrigin, Vector vecVelocity, float flExplodeTime );
};



#endif // GRENADE_BASE_H