public void applyHot() { temperature = 50; DebugMeteoStatus status = new DebugMeteoStatus(); status._city = city; status._temperature = temperature; status._weatherType = weatherType; manager.applyMeteo(status); }
public void applySnow() { weatherType = WeatherType.SNOW; DebugMeteoStatus status = new DebugMeteoStatus(); status._city = city; status._temperature = temperature; status._weatherType = weatherType; manager.applyMeteo(status); }