23#include "guillaume/components/backdrop.hpp"
34 if (_visible == visible) {
49 if (_progress == progress) {
Backdrop & setProgress(float progress)
Set the fade-in progress. Called by the entity's fade animation on every sample.
Backdrop(void)=default
Default constructor.
bool isVisible(void) const
Check whether the backdrop is shown.
float getProgress(void) const
Get the fade-in progress.
Backdrop & setVisible(bool visible)
Store whether the backdrop is shown.
void setHasChanged(bool hasChanged)
Raise or lower the changed flag.
State. Every class here is plain data attached to an entity.