2023-04-28 11:36:57 +00:00
|
|
|
#include "AnalogeMeter.h"
|
|
|
|
#include "Snelheid.h"
|
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
AnalogeMeter::AnalogeMeter(Snelheid* s):Observer(s){
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void AnalogeMeter::update()
|
|
|
|
{
|
2023-05-04 07:22:06 +00:00
|
|
|
cout << "Analoog: " << dynamic_cast<Snelheid*>(getSubject())->geef() << endl;
|
2023-04-28 11:36:57 +00:00
|
|
|
}
|