/FileExtraction/Java_unseen/Wind-Development_WindSpigot/WindSpigot-API/src/main/java/org/bukkit/event/hanging/HangingEvent.java
package org.bukkit.event.hanging;

import org.bukkit.entity.Hanging;
import org.bukkit.event.Event;

/**
 * Represents a hanging entity-related event.
 */
public abstract class HangingEvent extends Event {
	protected Hanging hanging;

	protected HangingEvent(final Hanging painting) {
		this.hanging = painting;
	}

	/**
	 * Gets the hanging entity involved in this event.
	 *
	 * @return the hanging entity
	 */
	public Hanging getEntity() {
		return hanging;
	}
}
