summaryrefslogtreecommitdiff
path: root/game/server/tf/entity_training_annotations.h
blob: 79da52bbf2544f2753050dadf482e20fbbffa70e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//========= 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;
};