17 #ifndef STOPWATCHLOGIC_H
18 #define STOPWATCHLOGIC_H
50 virtual void update()
override;
69 #endif // STOPWATCHLOGIC_H
float time
Time remaining on countdown.
Definition: StopwatchLogic.h:34
virtual void update() override
Updates the time remaining on the countdown.
void timeChanged()
Emitted when time is explicitly (re)set.
void setTime(float value)
Sets time.
Non-visual entities in the QML item tree that define behavior for their parent Actor.
Definition: Logic.h:31
void timeElapsed()
Emitted when the stopwatch timer expires.
float getTime() const
Returns time.
Definition: StopwatchLogic.h:40
Defines a stopwatch which triggers any callbacks connected to timeElapsed() after time game-time seco...
Definition: StopwatchLogic.h:28