diff options
Diffstat (limited to 'game/shared/cstrike/flashbang_projectile.h')
| -rw-r--r-- | game/shared/cstrike/flashbang_projectile.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/game/shared/cstrike/flashbang_projectile.h b/game/shared/cstrike/flashbang_projectile.h new file mode 100644 index 0000000..454ab1a --- /dev/null +++ b/game/shared/cstrike/flashbang_projectile.h @@ -0,0 +1,39 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#ifndef HEGRENADE_PROJECTILE_H +#define HEGRENADE_PROJECTILE_H +#ifdef _WIN32 +#pragma once +#endif + + +#include "basecsgrenade_projectile.h" + + +class CFlashbangProjectile : public CBaseCSGrenadeProjectile +{ +public: + DECLARE_CLASS( CFlashbangProjectile, CBaseCSGrenadeProjectile ); + +// Overrides. +public: + virtual void Spawn(); + virtual void Precache(); + virtual void BounceSound( void ); + virtual void Detonate(); + +// Grenade stuff. + static CFlashbangProjectile* Create( + const Vector &position, + const QAngle &angles, + const Vector &velocity, + const AngularImpulse &angVelocity, + CBaseCombatCharacter *pOwner ); +}; + + +#endif // HEGRENADE_PROJECTILE_H |