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.
35 lines
822 B
35 lines
822 B
5 years ago
|
#ifndef DISPLACERBALL_H
|
||
|
#define DISPLACERBALL_H
|
||
|
|
||
|
//=========================================================
|
||
|
// Displacement field
|
||
|
//=========================================================
|
||
|
class CDisplacerBall : public CBaseEntity
|
||
|
{
|
||
|
public:
|
||
|
void Spawn( void );
|
||
|
|
||
|
static void Shoot(entvars_t *pevOwner, Vector vecStart, Vector vecVelocity, Vector vecAngles);
|
||
|
static void SelfCreate(entvars_t *pevOwner, Vector vecStart);
|
||
|
|
||
|
void Touch(CBaseEntity *pOther);
|
||
|
void EXPORT ExplodeThink( void );
|
||
|
void EXPORT KillThink( void );
|
||
|
void Circle( void );
|
||
|
|
||
|
virtual int Save(CSave &save);
|
||
|
virtual int Restore(CRestore &restore);
|
||
|
static TYPEDESCRIPTION m_SaveData[];
|
||
|
|
||
|
CBeam* m_pBeam[8];
|
||
|
|
||
|
void EXPORT FlyThink( void );
|
||
|
void ClearBeams( void );
|
||
|
void ArmBeam( int iSide );
|
||
|
|
||
|
int m_iBeams;
|
||
|
|
||
|
CBaseEntity *pRemoveEnt;
|
||
|
};
|
||
|
#endif
|