source-engine/game/server/tf2/tf_obj_dragonsteeth.h
FluorescentCIAAfricanAmerican 3bf9df6b27 1
2020-04-22 12:56:21 -04:00

38 lines
998 B
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#ifndef TF_OBJ_DRAGONSTEETH_H
#define TF_OBJ_DRAGONSTEETH_H
#ifdef _WIN32
#pragma once
#endif
#include "tf_obj.h"
// ------------------------------------------------------------------------ //
// Purpose: Object built to block vehicle movement
// ------------------------------------------------------------------------ //
class CObjectDragonsTeeth : public CBaseObject
{
DECLARE_CLASS( CObjectDragonsTeeth, CBaseObject );
public:
DECLARE_SERVERCLASS();
CObjectDragonsTeeth();
virtual void Spawn();
virtual void Precache();
virtual float GetNearbyObjectCheckRadius( void ) { return 10.0; }
virtual bool StartBuilding( CBaseEntity *pBuilder );
virtual void OnActivityChanged( Activity act );
public:
CHandle< CBaseObject > m_hOwningObject; // Object I was created for
};
#endif // TF_OBJ_DRAGONSTEETH_H