summaryrefslogtreecommitdiff
path: root/game/client/tf/c_entity_currencypack.h
blob: 704faab2ea4707a44d516d95b3d951529d45b992 (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
//========= Copyright Valve Corporation, All rights reserved. ============//
#ifndef C_ENTITY_CURRENCYPACK_H
#define C_ENTITY_CURRENCYPACK_H

class C_CurrencyPack : public C_BaseAnimating
{
public:
	DECLARE_CLASS( C_CurrencyPack, C_BaseAnimating );
	DECLARE_CLIENTCLASS();

	C_CurrencyPack();
	~C_CurrencyPack();

	virtual void OnDataChanged( DataUpdateType_t updateType ) OVERRIDE;
	virtual void ClientThink();

private:

	void UpdateGlowEffect( void );
	void DestroyGlowEffect( void );
	CGlowObject *m_pGlowEffect;
	bool m_bShouldGlowForLocalPlayer;

	bool m_bDistributed;
};

#endif // C_ENTITY_CURRENCYPACK_H