css_enhanced_waf/game/server/tf2/tf_obj_vehicleboost.h

38 lines
844 B
C
Raw Normal View History

2020-04-22 17:56:21 +01:00
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Upgrade that boosts vehicle speeds for short periods of time.
//
//=============================================================================//
#ifndef TF_OBJ_VEHICLEBOOST_H
#define TF_OBJ_VEHICLEBOOST_H
#ifdef _WIN32
#pragma once
#endif
#include "tf_obj_baseupgrade_shared.h"
//=============================================================================
//
// Vehicle Boost Upgrade
//
class CObjectVehicleBoost : public CBaseObjectUpgrade
{
DECLARE_CLASS( CObjectVehicleBoost, CBaseObjectUpgrade );
public:
DECLARE_DATADESC();
DECLARE_SERVERCLASS();
CObjectVehicleBoost();
void Spawn( void );
void Precache( void );
bool CanTakeEMPDamage( void ) { return true; }
void FinishedBuilding( void );
};
#endif // TF_OBJ_VEHICLEBOOST_H