blob: 57b0d3e3a612a83a033e11529e9736184fef7321 (
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
33
34
35
36
37
38
39
40
41
42
43
|
//========= Copyright Valve Corporation, All rights reserved. ============//
// tf_mann_vs_machine_logic.h
// Mann Vs Machine game mode singleton manager
// Michael Booth, June 2011
#ifndef TF_MANN_VS_MACHINE_LOGIC_H
#define TF_MANN_VS_MACHINE_LOGIC_H
#include "tf_gamerules.h"
class CTFBotActionPoint;
//-----------------------------------------------------------------------
class CMannVsMachineLogic : public CPointEntity
{
DECLARE_CLASS( CMannVsMachineLogic, CPointEntity );
public:
DECLARE_DATADESC();
CMannVsMachineLogic();
virtual ~CMannVsMachineLogic();
virtual void Spawn( void );
void Update( void );
void SetupOnRoundStart( void );
virtual int UpdateTransmitState()
{
return SetTransmitState( FL_EDICT_ALWAYS );
}
private:
CHandle< CPopulationManager > m_populationManager;
void InitPopulationManager( void );
float m_flNextAlarmCheck;
};
extern CHandle<CMannVsMachineLogic> g_hMannVsMachineLogic;
#endif // TF_MANN_VS_MACHINE_LOGIC_H
|