Files
Bukkit/src/main/java/org/bukkit/event/weather/WeatherEvent.java
2012-02-19 04:10:07 -05:00

25 lines
484 B
Java

package org.bukkit.event.weather;
import org.bukkit.World;
import org.bukkit.event.Event;
/**
* Represents a Weather-related event
*/
public abstract class WeatherEvent extends Event {
protected World world;
public WeatherEvent(final World where) {
world = where;
}
/**
* Returns the World where this event is occurring
*
* @return World this event is occurring in
*/
public final World getWorld() {
return world;
}
}