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);
|
2022-03-27 16:18:53 +00:00
|
|
|
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
|