1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-05 17:13:36 +08:00
hl2sdk/game/server/swarm/asw_pickup_money.h
2010-07-22 01:46:14 -05:00

33 lines
799 B
C++

#ifndef _INCLUDED_ASW_PICKUP_MONEY_H
#define _INCLUDED_ASW_PICKUP_MONEY_H
#ifdef _WIN32
#pragma once
#endif
#include "asw_pickup.h"
class CSprite;
class CSpriteTrail;
class CASW_Pickup_Money : public CASW_Pickup
{
DECLARE_CLASS( CASW_Pickup_Money, CASW_Pickup );
DECLARE_SERVERCLASS();
public:
CASW_Pickup_Money(void);
virtual ~CASW_Pickup_Money(void);
virtual void Spawn();
virtual void Precache();
virtual void ItemTouch( CBaseEntity *pOther );
virtual void CreateEffects();
// money isn't picked up using E
virtual bool AllowedToPickup(CASW_Marine *pMarine) { return false; }
virtual bool IsUsable(CBaseEntity *pUser) { return false; }
CHandle<CSprite> m_pMainGlow;
CHandle<CSpriteTrail> m_pGlowTrail;
};
#endif // _INCLUDED_ASW_PICKUP_MONEY_H