11 lines
238 B
C++
11 lines
238 B
C++
|
#include "DigitaleMeter.h"
|
||
|
#include <iostream>
|
||
|
#include "Snelheid.h"
|
||
|
|
||
|
DigitaleMeter::DigitaleMeter(Snelheid* s): Observer(s){
|
||
|
|
||
|
}
|
||
|
|
||
|
void DigitaleMeter::update(){
|
||
|
cout << "Digitaal " << dynamic_cast<Snelheid*> (getSubject()) -> geef();
|
||
|
}
|