package de.wolfi.minopoly.utils;

import org.bukkit.DyeColor;
import org.bukkit.entity.EntityType;

import de.robingrether.idisguise.disguise.Disguise;
import de.robingrether.idisguise.disguise.DisguiseType;

public enum FigureType {

	WOLF(DisguiseBuilder.create(DisguiseType.WOLF).setCollar(DyeColor.RED).create(),EntityType.WOLF);
	
	private Disguise d;
	private EntityType entityType;
	private FigureType(Disguise d, EntityType en){
		this.d = d;
		this.entityType = en;
	}
	
	public Disguise createDisguise(){
		return d.clone();
	}
	
	public EntityType getEntityType() {
		return entityType;
	}
}

@@ -619,12 +619,80 @@
 pe;%0D%0A%09%7D%0D
+%0A%0D%0A%09public String getName() %7B%0D%0A%09%09return d.getType().toString();%0D%0A%09%7D%0D
 %0A%7D%0D%0A

Declare getName()/String