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.
30 lines
905 B
30 lines
905 B
//========= Copyright Valve Corporation, All rights reserved. ============// |
|
// |
|
// |
|
// |
|
//============================================================================= |
|
#ifndef MERASMUS_TRICK_OR_TREAT_PROP_H |
|
#define MERASMUS_TRICK_OR_TREAT_PROP_H |
|
|
|
DECLARE_AUTO_LIST( ITFMerasmusTrickOrTreatProp ); |
|
|
|
class CTFMerasmusTrickOrTreatProp : public CBaseAnimating, public ITFMerasmusTrickOrTreatProp |
|
{ |
|
DECLARE_CLASS( CTFMerasmusTrickOrTreatProp, CBaseAnimating ); |
|
|
|
public: |
|
CTFMerasmusTrickOrTreatProp(); |
|
~CTFMerasmusTrickOrTreatProp() {} |
|
|
|
virtual void Spawn( void ); |
|
virtual void Event_Killed( const CTakeDamageInfo &info ); |
|
virtual int OnTakeDamage( const CTakeDamageInfo &info ); |
|
virtual void Touch( CBaseEntity *pOther ); |
|
|
|
static CTFMerasmusTrickOrTreatProp* Create( const Vector& vPosition, const QAngle& qAngles ); |
|
|
|
private: |
|
void SpawnTrickOrTreatItem(); |
|
}; |
|
|
|
#endif // MERASMUS_TRICK_OR_TREAT_PROP_H
|
|
|