15 lines
393 B
D
15 lines
393 B
D
|
module observer.app;
|
||
|
|
||
|
import observer.weatherdata;
|
||
|
import observer.currentconditionsdisplay;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
WeatherData weatherData = new WeatherData();
|
||
|
CurrentConditionsDisplay currentDisplay = new CurrentConditionsDisplay(weatherData);
|
||
|
|
||
|
weatherData.setMeasurements(80, 65, 30.4f);
|
||
|
weatherData.setMeasurements(82, 70, 29.2f);
|
||
|
weatherData.setMeasurements(78, 90, 29.2f);
|
||
|
}
|