001    package org.bukkit.event.weather;
002    
003    import org.bukkit.World;
004    import org.bukkit.event.Event;
005    
006    /**
007     * Represents a Weather-related event
008     */
009    public abstract class WeatherEvent extends Event {
010        protected World world;
011    
012        public WeatherEvent(final World where) {
013            world = where;
014        }
015    
016        /**
017         * Returns the World where this event is occurring
018         *
019         * @return World this event is occurring in
020         */
021        public final World getWorld() {
022            return world;
023        }
024    }