Added gadget class

This commit is contained in:
LCastr0 2017-04-26 14:34:41 -03:00
parent 01076ec054
commit 5764a4bce3
1 changed files with 19 additions and 1 deletions

View File

@ -1,8 +1,26 @@
package mineplex.core.gadget.types; package mineplex.core.gadget.types;
import org.bukkit.Material;
import org.bukkit.entity.Entity;
import mineplex.core.gadget.GadgetManager;
/** /**
* Handles custom particle effects for the arcade hub kit selectors * Handles custom particle effects for the arcade hub kit selectors
*/ */
public class KitSelectorGadget public abstract class KitSelectorGadget extends Gadget
{ {
public KitSelectorGadget(GadgetManager gadgetManager, String name, String[] lore, int cost, Material mat, byte data,
String... alternativeSalesPackageNames)
{
super(gadgetManager, GadgetType.KIT_SELECTOR, name, lore, cost, mat, data, 1, alternativeSalesPackageNames);
}
/**
* Plays the next particle for the selected entity
* @param entity
*/
public abstract void playParticle(Entity entity);
} }