Mineplex2018-withcommit/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/KitAvailability.java

41 lines
519 B
Java
Raw Normal View History

2013-08-27 17:14:08 +02:00
package nautilus.game.arcade.kit;
import org.bukkit.ChatColor;
public enum KitAvailability
{
Free(ChatColor.YELLOW),
Green(ChatColor.GREEN),
Blue(ChatColor.AQUA),
Hide(ChatColor.YELLOW),
Null(ChatColor.BLACK);
ChatColor _color;
KitAvailability(ChatColor color)
{
_color = color;
}
public ChatColor GetColor()
{
return _color;
}
public int getDefaultCost()
{
int cost = 0;
switch (this)
{
case Blue:
cost = 5000;
break;
default:
cost = 2000;
}
return cost;
}
2013-08-27 17:14:08 +02:00
}