Ejemplo n.º 1
0
    public void applyHot()
    {
        temperature = 50;
        DebugMeteoStatus status = new DebugMeteoStatus();

        status._city        = city;
        status._temperature = temperature;
        status._weatherType = weatherType;
        manager.applyMeteo(status);
    }
Ejemplo n.º 2
0
    public void applySnow()
    {
        weatherType = WeatherType.SNOW;
        DebugMeteoStatus status = new DebugMeteoStatus();

        status._city        = city;
        status._temperature = temperature;
        status._weatherType = weatherType;
        manager.applyMeteo(status);
    }