Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
651 B

#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 */