2010-11-20 10:37:14 +00:00
|
|
|
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
|
|
|
|
/* If you are missing that file, acquire a complete release at teeworlds.com. */
|
2010-05-29 07:25:38 +00:00
|
|
|
#ifndef GAME_CLIENT_COMPONENTS_ITEMS_H
|
|
|
|
#define GAME_CLIENT_COMPONENTS_ITEMS_H
|
|
|
|
#include <game/client/component.h>
|
|
|
|
|
|
|
|
class CItems : public CComponent
|
|
|
|
{
|
2011-02-12 10:40:36 +00:00
|
|
|
void RenderProjectile(const CNetObj_Projectile *pCurrent, int ItemID);
|
2010-05-29 07:25:38 +00:00
|
|
|
void RenderPickup(const CNetObj_Pickup *pPrev, const CNetObj_Pickup *pCurrent);
|
|
|
|
void RenderFlag(const CNetObj_Flag *pPrev, const CNetObj_Flag *pCurrent);
|
|
|
|
void RenderLaser(const struct CNetObj_Laser *pCurrent);
|
|
|
|
|
|
|
|
public:
|
|
|
|
virtual void OnRender();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|