mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-12 16:07:57 +00:00
27 lines
416 B
C
27 lines
416 B
C
|
// botman's Half-Life bot example
|
||
|
//
|
||
|
// http://planethalflife.com/botman/
|
||
|
//
|
||
|
// botcam.h
|
||
|
//
|
||
|
|
||
|
#ifndef BOTCAM_H
|
||
|
#define BOTCAM_H
|
||
|
|
||
|
class CBotCam : public CBaseEntity
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
CBasePlayer *m_pPlayer;
|
||
|
CBasePlayer *m_pBot;
|
||
|
|
||
|
static CBotCam *Create( CBasePlayer *pPlayer, CBasePlayer *pBot );
|
||
|
void Spawn( void );
|
||
|
void Disconnect( void );
|
||
|
|
||
|
void EXPORT IdleThink( void );
|
||
|
};
|
||
|
|
||
|
#endif
|
||
|
|