Update hat and flag type enums
This commit is contained in:
parent
2eff6ae34b
commit
b214d43eec
@ -0,0 +1,34 @@
|
||||
package mineplex.core.gadget.gadgets.flag;
|
||||
|
||||
import mineplex.core.common.util.banner.CountryFlag;
|
||||
|
||||
/**
|
||||
* @author J Teissler
|
||||
* @date 6/27/17
|
||||
*/
|
||||
public enum FlagType
|
||||
{
|
||||
UNITED_STATES(CountryFlag.USA, -8),
|
||||
CANADA(CountryFlag.CANADA, -8),
|
||||
|
||||
;
|
||||
|
||||
private final CountryFlag _flag;
|
||||
private final int _cost;
|
||||
|
||||
FlagType(CountryFlag flag, int cost)
|
||||
{
|
||||
_flag = flag;
|
||||
_cost = cost;
|
||||
}
|
||||
|
||||
public CountryFlag getFlag()
|
||||
{
|
||||
return _flag;
|
||||
}
|
||||
|
||||
public int getCost()
|
||||
{
|
||||
return _cost;
|
||||
}
|
||||
}
|
@ -22,7 +22,11 @@ public enum HatType
|
||||
SNOWMAN("Snowman Head", UtilText.splitLineToArray(C.cGray + "Do you want to be a snowman?", LineFormat.LORE), -2, SkinData.SNOWMAN),
|
||||
TEDDY_BEAR("Teddy Bear", UtilText.splitLineToArray(C.cGray + "Aww, it's a cute teddy bear! What shall I name him?", LineFormat.LORE), -6, SkinData.TEDDY_BEAR),
|
||||
UNCLE_SAM("Uncle Sam Hat", UtilText.splitLineToArray(UtilText.colorWords("Uncle Sam has a big hat but now you can too.", ChatColor.RED, ChatColor.WHITE, ChatColor.BLUE), LineFormat.LORE), -8, SkinData.UNCLE_SAM),
|
||||
PUMPKIN("Pumpkin Hat", UtilText.splitLineToArray(C.cGray + "Pumpkin on the head, don't end up dead!", LineFormat.LORE), -9, Material.PUMPKIN);
|
||||
PUMPKIN("Pumpkin Hat", UtilText.splitLineToArray(C.cGray + "Pumpkin on the head, don't end up dead!", LineFormat.LORE), -9, Material.PUMPKIN),
|
||||
CANADA("Warm Canadian Hat", UtilText.splitLineToArray(C.cGray + "Keep your ears nice and warm while up north.", LineFormat.LORE), -8, SkinData.CANADA_HAT),
|
||||
AMERICA("Patriotic American Hat", UtilText.splitLineToArray(C.cGray + "Careful not to get a big head.", LineFormat.LORE), -8, SkinData.AMERICA_HAT),
|
||||
|
||||
;
|
||||
|
||||
private final String _name;
|
||||
private final String[] _lore;
|
||||
|
Loading…
Reference in New Issue
Block a user