28 lines
678 B
C++
28 lines
678 B
C++
#ifndef _DEFINED_ASW_SENTRY_TOP_MACHINEGUN_H
|
|
#define _DEFINED_ASW_SENTRY_TOP_MACHINEGUN_H
|
|
#pragma once
|
|
|
|
#include "asw_sentry_top.h"
|
|
|
|
class CASW_Sentry_Top_Machinegun : public CASW_Sentry_Top
|
|
{
|
|
public:
|
|
DECLARE_CLASS( CASW_Sentry_Top_Machinegun, CASW_Sentry_Top );
|
|
// DECLARE_SERVERCLASS();
|
|
DECLARE_DATADESC();
|
|
|
|
virtual void Spawn( void );
|
|
|
|
virtual void Fire();
|
|
virtual void SetTopModel();
|
|
|
|
// Classification
|
|
virtual Class_T Classify( void ) { return (Class_T) CLASS_ASW_SENTRY_GUN; }
|
|
|
|
protected:
|
|
float m_flFireHysteresisTime; // some turrets have a mechanism to continue shooting without an enemy
|
|
|
|
};
|
|
|
|
|
|
#endif /* _DEFINED_ASW_SENTRY_TOP_H */ |