mirror of
https://github.com/ddnet/ddnet.git
synced 2024-10-21 08:18:18 +00:00
17 lines
499 B
C++
17 lines
499 B
C++
#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);
|
|
void RenderFreezeBarPos(float x, const float y, const float width, const float height, float Progress, float Alpha = 1.0f);
|
|
bool IsPlayerInfoAvailable(int ClientID) const;
|
|
|
|
public:
|
|
virtual int Sizeof() const override { return sizeof(*this); }
|
|
virtual void OnRender() override;
|
|
};
|
|
|
|
#endif
|