Team Fortress 2 Source Code as on 22/4/2020
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.
 
 
 
 
 
 

32 lines
893 B

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: CTrainingAnnotation Entity. This entity is used to place
// annotations on maps.
//=============================================================================//
#include "cbase.h"
//=============================================================================
// CTrainingAnnotation Entity.
//=============================================================================
class CTrainingAnnotation : public CPointEntity
{
DECLARE_CLASS( CTrainingAnnotation, CPointEntity );
public:
DECLARE_DATADESC();
CTrainingAnnotation();
~CTrainingAnnotation(){}
// Input.
void InputShow( inputdata_t &inputdata ){ Show(); }
void InputHide( inputdata_t &inputdata ) {Hide(); }
void Show();
void Hide();
string_t m_displayText;
float m_flLifetime;
float m_flVerticalOffset;
};