public HeatIndexDisplay(WeatherData wd) { this.weatherData = wd; weatherData.RegisterObserver(this); }
public CurrentConditionsDisplay(WeatherData wd) { this.weatherData = wd; weatherData.RegisterObserver(this); }