/FileExtraction/Java_unseen/Wind-Development_WindSpigot/WindSpigot-Server/src/main/java/org/bukkit/craftbukkit/entity/CraftWitherSkull.java
package org.bukkit.craftbukkit.entity;

import org.bukkit.craftbukkit.CraftServer;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.WitherSkull;

import net.minecraft.server.EntityWitherSkull;

public class CraftWitherSkull extends CraftFireball implements WitherSkull {
	public CraftWitherSkull(CraftServer server, EntityWitherSkull entity) {
		super(server, entity);
	}

	@Override
	public void setCharged(boolean charged) {
		getHandle().setCharged(charged);
	}

	@Override
	public boolean isCharged() {
		return getHandle().isCharged();
	}

	@Override
	public EntityWitherSkull getHandle() {
		return (EntityWitherSkull) entity;
	}

	@Override
	public String toString() {
		return "CraftWitherSkull";
	}

	@Override
	public EntityType getType() {
		return EntityType.WITHER_SKULL;
	}
}
