2023-04-28 11:36:57 +00:00
|
|
|
#include "DigitaleMeter.h"
|
|
|
|
#include <iostream>
|
|
|
|
#include "Snelheid.h"
|
|
|
|
|
|
|
|
DigitaleMeter::DigitaleMeter(Snelheid* s): Observer(s){
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void DigitaleMeter::update(){
|
2023-05-02 11:21:47 +00:00
|
|
|
cout << "Digitaal " << dynamic_cast<Snelheid*> (getSubject()) -> geef() << endl;
|
2023-04-28 11:36:57 +00:00
|
|
|
}
|