DDraceNetwork Docs
freezebars.h
Go to the documentation of this file.
1#ifndef GAME_CLIENT_COMPONENTS_FREEZEBARS_H
2#define GAME_CLIENT_COMPONENTS_FREEZEBARS_H
4
5class 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
11public:
12 virtual int Sizeof() const override { return sizeof(*this); }
13 virtual void OnRender() override;
14};
15
16#endif
Definition: component.h:20
Definition: freezebars.h:6
virtual void OnRender() override
Definition: freezebars.cpp:197
void RenderFreezeBar(const int ClientId)
Definition: freezebars.cpp:5
bool IsPlayerInfoAvailable(int ClientId) const
Definition: freezebars.cpp:190
void RenderFreezeBarPos(float x, const float y, const float Width, const float Height, float Progress, float Alpha=1.0f)
Definition: freezebars.cpp:39
virtual int Sizeof() const override
Definition: freezebars.h:12