1 #ifndef SPEEDMANAGER_HH
2 #define SPEEDMANAGER_HH
10 class CommandController;
26 [[nodiscard]]
double getSpeed()
const {
return speed; }
A Setting with an integer value.
Generic Gang-of-Four Observer class, templatized edition.
Manages the desired ratio between emutime and real time.
SpeedManager(CommandController &commandController)
double getSpeed() const
Return the desired ratio between emutime and real time.
Generic Gang-of-Four Subject class of the Observer pattern, templatized edition.
This file implemented 3 utility functions: