#include "AnalogeMeter.h" #include "Snelheid.h" #include using namespace std; AnalogeMeter::AnalogeMeter(Snelheid* s):Observer(s){ } void AnalogeMeter::update() { cout << "Analoog: " << dynamic_cast(getSubject())->geef(); }