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

import org.bukkit.entity.Projectile;
import org.bukkit.event.HandlerList;

/**
 * Called when a projectile hits an object
 */
public class ProjectileHitEvent extends EntityEvent {
	private static final HandlerList handlers = new HandlerList();

	public ProjectileHitEvent(final Projectile projectile) {
		super(projectile);
	}

	@Override
	public Projectile getEntity() {
		return (Projectile) entity;
	}

	@Override
	public HandlerList getHandlers() {
		return handlers;
	}

	public static HandlerList getHandlerList() {
		return handlers;
	}

}
