Mineplex2018-withcommit/Plugins/Nautilus.Game.MineKart/src/nautilus/game/minekart/gp/GPSet.java

48 lines
1.2 KiB
Java
Raw Normal View History

2014-10-31 05:40:40 +01:00
package nautilus.game.minekart.gp;
import org.bukkit.Material;
public enum GPSet
{
MushroomCup("Mushroom Cup", new String[] {"MushroomA", "MushroomB", "MushroomC", "MushroomD"}, Material.RAW_CHICKEN, false),
FlowerCup( "Flower Cup", new String[] {"MushroomA", "MushroomB", "MushroomC", "MushroomD"}, Material.COOKED_CHICKEN, false),
StarCup( "Star Cup", new String[] {"MushroomA", "MushroomB", "MushroomC", "MushroomD"}, Material.CARROT_ITEM, false),
SpecialCup( "Special Cup", new String[] {"MushroomA", "MushroomB", "MushroomC", "MushroomD"}, Material.GOLDEN_CARROT, false),
Battle("Battle", new String[] {"BattleA", "BattleB", "BattleC"}, Material.RAW_BEEF, true);
private String _name;
private String[] _mapNames;
private Material _displayMat;
private boolean _battle;
GPSet(String name, String[] mapNames, Material mat, boolean battle)
{
_name = name;
_mapNames = mapNames;
_displayMat = mat;
_battle = battle;
}
public String GetName()
{
return _name;
}
public String[] GetMapNames()
{
return _mapNames;
}
public Material GetDisplayMaterial()
{
return _displayMat;
}
public boolean IsBattle()
{
return _battle;
}
}