Files
Bukkit/src/main/java/org/bukkit/event/painting/PaintingEvent.java
Wesley Wolfe 8a1dbc38da Pulling all pending Bukkit-JavaDoc changes
A special thanks goes to @aerouk for almost all of the changes found here.
2013-12-15 01:09:18 -05:00

30 lines
682 B
Java

package org.bukkit.event.painting;
import org.bukkit.Warning;
import org.bukkit.entity.Painting;
import org.bukkit.event.Event;
/**
* Represents a painting-related event.
*
* @deprecated Use {@link org.bukkit.event.hanging.HangingEvent} instead.
*/
@Deprecated
@Warning(reason="This event has been replaced by HangingEvent")
public abstract class PaintingEvent extends Event {
protected Painting painting;
protected PaintingEvent(final Painting painting) {
this.painting = painting;
}
/**
* Gets the painting involved in this event.
*
* @return the painting
*/
public Painting getPainting() {
return painting;
}
}