mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-05 17:13:36 +08:00
21 lines
525 B
C++
21 lines
525 B
C++
#ifndef _INCLUDED_C_ASW_GUN_SMOKE_EMITTER_H
|
|
#define _INCLUDED_C_ASW_GUN_SMOKE_EMITTER_H
|
|
|
|
#include "c_asw_generic_emitter_entity.h"
|
|
|
|
class C_ASW_Gun_Smoke_Emitter : public C_ASW_Emitter
|
|
{
|
|
public:
|
|
DECLARE_CLASS( C_ASW_Gun_Smoke_Emitter, C_ASW_Emitter );
|
|
|
|
C_ASW_Gun_Smoke_Emitter();
|
|
virtual void ClientThink();
|
|
void OnFired(); // our gun calls this when it fires
|
|
void StartSmoking();
|
|
void StopSmoking();
|
|
|
|
float m_fFireCount;
|
|
float m_fLastFireTime;
|
|
};
|
|
|
|
#endif /* _INCLUDED_C_ASW_GUN_SMOKE_EMITTER_H */ |