Class WeatherEvent


  • public class WeatherEvent
    extends java.lang.Object
    Class that represent changes, from world. Sent from world to each floor for reacting to changes.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private double sun  
      private double temperature  
      private double wind  
    • Constructor Summary

      Constructors 
      Constructor Description
      WeatherEvent​(double sun, double wind, double temperature)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • sun

        private double sun
      • wind

        private double wind
      • temperature

        private double temperature
    • Constructor Detail

      • WeatherEvent

        public WeatherEvent​(double sun,
                            double wind,
                            double temperature)