DDNet documentation
Toggle main menu visibility
Loading...
Searching...
No Matches
freezebars.h
Go to the documentation of this file.
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
(
int
ClientId);
8
void
RenderFreezeBarPos
(
float
x,
float
y,
float
Width,
float
Height,
float
Progress,
float
Alpha = 1.0f);
9
bool
IsPlayerInfoAvailable
(
int
ClientId)
const
;
10
11
public
:
12
int
Sizeof
()
const override
{
return
sizeof
(*this); }
13
void
OnRender
()
override
;
14
};
15
16
#endif
CComponent
Definition
component.h:165
CFreezeBars
Definition
freezebars.h:6
CFreezeBars::OnRender
void OnRender() override
Definition
freezebars.cpp:197
CFreezeBars::IsPlayerInfoAvailable
bool IsPlayerInfoAvailable(int ClientId) const
Definition
freezebars.cpp:190
CFreezeBars::RenderFreezeBar
void RenderFreezeBar(int ClientId)
Definition
freezebars.cpp:5
CFreezeBars::Sizeof
int Sizeof() const override
Definition
freezebars.h:12
CFreezeBars::RenderFreezeBarPos
void RenderFreezeBarPos(float x, float y, float Width, float Height, float Progress, float Alpha=1.0f)
Definition
freezebars.cpp:39
component.h
src
game
client
components
freezebars.h
Generated by
1.18.0