我正在寻找一些关于如何为我的游戏做百分比事情的提示我想要 1-98 范围内的所有花朵和 99-100 的白色/黑色花朵,以使其更加稀有,感谢您的帮助:) public enum FlowerSuit { WHITE_FLOWERS("white", ":white:", "470419377456414720", 1), YELLOW_FLOWERS("yellow", ":yellow:", "470419561267855360", 1 ), RED_FLOWERS("red", ":red:", "470419583250202644", 1), RAINBOW_FLOWERS("rainbow", ":rainbow:", "470419602841665536", 1), PASTEL_FLOWERS("pastel", ":pastel:", "470419629450199040", 1), ORANGE_FLOWERS("orange", ":orange:", "470419647900942366", 1), BLUE_FLOWERS("blue", ":blue:", "470419688753594368", 1), BLACK_FLOWERS("black", ":black:", "470419706751352842", 1); private final String displayName; private final String emoticon; private int value; private final String id; FlowerSuit(String displayName, String emoticon, String id, int value ) { this.displayName = displayName; this.emoticon = emoticon; this.value = value; this.id = id; } public String getDisplayName() { return displayName; } public String getEmoticon() { return emoticon; } public String getId() { return id; } public int getValue() { // TODO Auto-generated method stub return value; }}
添加回答
举报
0/150
提交
取消