Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private enum Data {
- NORMAL(1511, 100, 1),
- OAK(1521, 200, 15);
- private int logId, exp, reqLevel;
- private Data(int logId, int exp, int reqLevel) {
- this.logId = logId;
- this.exp= exp;
- this.reqLevel= reqLevel;
- }
- private static Map<Object, Data> data = new HashMap<>();
- static {
- for (Data d : Data.values()) {
- Data.data.put(d.getLogId(), d);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement