1 | #ifndef GAME_CLIENT_COMPONENTS_FREEZEBARS_H |
2 | #define GAME_CLIENT_COMPONENTS_FREEZEBARS_H |
3 | #include <game/client/component.h> |
4 | |
5 | class CFreezeBars : public CComponent |
6 | { |
7 | void RenderFreezeBar(const int ClientId); |
8 | void RenderFreezeBarPos(float x, const float y, const float width, const float height, float Progress, float Alpha = 1.0f); |
9 | bool IsPlayerInfoAvailable(int ClientId) const; |
10 | |
11 | public: |
12 | virtual int Sizeof() const override { return sizeof(*this); } |
13 | virtual void OnRender() override; |
14 | }; |
15 | |
16 | #endif |
17 | |