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.
39 lines
968 B
39 lines
968 B
//========= Copyright Valve Corporation, All rights reserved. ============// |
|
// |
|
// Purpose: |
|
// |
|
// $NoKeywords: $ |
|
//=============================================================================// |
|
|
|
#ifndef C_OBJ_SAPPER_H |
|
#define C_OBJ_SAPPER_H |
|
#ifdef _WIN32 |
|
#pragma once |
|
#endif |
|
|
|
#include "tf_obj_baseupgrade_shared.h" |
|
|
|
//----------------------------------------------------------------------------- |
|
// Purpose: |
|
//----------------------------------------------------------------------------- |
|
class C_ObjectSapper : public C_BaseObjectUpgrade |
|
{ |
|
DECLARE_CLASS( C_ObjectSapper, C_BaseObjectUpgrade ); |
|
public: |
|
DECLARE_CLIENTCLASS(); |
|
|
|
C_ObjectSapper() {} |
|
|
|
virtual void ClientThink( void ); |
|
virtual void OnDataChanged( DataUpdateType_t type ); |
|
|
|
virtual bool IsHostileUpgrade( void ) { return true; } |
|
|
|
float GetReversesBuildingConstructionSpeed( void ); |
|
|
|
private: |
|
C_ObjectSapper( const C_ObjectSapper & ); // not defined, not accessible |
|
}; |
|
|
|
|
|
#endif // C_OBJ_SAPPER_H
|