Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
WeatherEvent.java
1 package org.bukkit.event.weather;
2 
3 import org.bukkit.World;
4 import org.bukkit.event.Event;
5 
6 /**
7  * Represents a Weather-related event
8  */
9 public abstract class WeatherEvent extends Event {
10  protected World world;
11 
12  public WeatherEvent(final World where) {
13  world = where;
14  }
15 
16  /**
17  * Returns the World where this event is occurring
18  *
19  * @return World this event is occurring in
20  */
21  public final World getWorld() {
22  return world;
23  }
24 }