2020-12-03 15:47:36 +01:00
|
|
|
#pragma once
|
|
|
|
class TTextBoxMessage
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
TTextBoxMessage* NextMessage;
|
|
|
|
char* Text;
|
|
|
|
float Time;
|
|
|
|
int EndTicks;
|
2023-03-17 14:38:08 +01:00
|
|
|
bool LowPriority;
|
2020-12-03 15:47:36 +01:00
|
|
|
|
2023-03-17 14:38:08 +01:00
|
|
|
TTextBoxMessage(const char* text, float time, bool lowPriority);
|
2020-12-03 15:47:36 +01:00
|
|
|
~TTextBoxMessage();
|
|
|
|
float TimeLeft() const;
|
|
|
|
void Refresh(float time);
|
|
|
|
};
|