//===== Copyright © Valve Corporation, All rights reserved. ======// // // Purpose: // //===========================================================================// #include "baseentity.h" #pragma once class CPointHidingSpot : public CServerOnlyPointEntity { DECLARE_CLASS( CPointHidingSpot, CServerOnlyPointEntity ) public: CPointHidingSpot(); DECLARE_DATADESC(); virtual void Activate() OVERRIDE; virtual void UpdateOnRemove() OVERRIDE; void PostActivateSetupThink(); void DetachFromHidingSpot(); protected: CNavArea *m_pNavArea; // nav our hiding spot is associated with HidingSpot *m_pSpot; };