29 #ifndef _FadeoutText_H__ 30 #define _FadeoutText_H__ 47 virtual void tick(
float dt)
override;
50 { this->delay_ =
delay; }
52 {
return this->delay_; }
55 { this->fadeouttime_ = fadeouttime; }
57 {
return this->fadeouttime_; }
60 virtual void changedColour()
override;
61 virtual void changedCaption()
override;
Definition: OverlayText.h:41
Definition: FadeoutText.h:40
Declaration of the Tickable interface.
bool bFadingOut_
Definition: FadeoutText.h:69
xmlelement
Definition: Super.h:519
Declaration of the Timer class, used to call functions after a given time-interval.
float fadeouttime_
Definition: FadeoutText.h:67
#define _OverlaysExport
Definition: OverlaysPrereqs.h:60
void setFadeouttime(float fadeouttime)
Definition: FadeoutText.h:54
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Shared library macros, enums, constants and forward declarations for the overlays module ...
Mode
Definition: CorePrereqs.h:102
virtual ~FadeoutText()
Definition: FadeoutText.h:44
void setDelay(float delay)
Definition: FadeoutText.h:49
unsigned int delay(float delay, const std::string &command)
Console-command: Calls another console command after delay seconds (game time).
Definition: Timer.cc:65
float getFadeouttime() const
Definition: FadeoutText.h:56
float delay_
Definition: FadeoutText.h:66
Timer fadeouttimer_
Definition: FadeoutText.h:70
The Tickable interface provides a tick(dt) function, that gets called every frame.
Definition: Tickable.h:52
Timer is a helper class that executes a function after a given amount of seconds in game-time...
Definition: Timer.h:105
float initialAlpha_
Definition: FadeoutText.h:72
float getDelay() const
Definition: FadeoutText.h:51