ddnet/src/game/client/components/freezebars.h

17 lines
499 B
C
Raw Normal View History

2022-03-25 11:54:11 +00:00
#ifndef GAME_CLIENT_COMPONENTS_FREEZEBARS_H
#define GAME_CLIENT_COMPONENTS_FREEZEBARS_H
#include <game/client/component.h>
class CFreezeBars : public CComponent
{
void RenderFreezeBar(const int ClientID);
2022-03-29 21:24:39 +00:00
void RenderFreezeBarPos(float x, const float y, const float width, const float height, float Progress, float Alpha = 1.0f);
bool IsPlayerInfoAvailable(int ClientID) const;
2022-03-25 11:54:11 +00:00
public:
virtual int Sizeof() const override { return sizeof(*this); }
virtual void OnRender() override;
};
#endif