summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4eb1f6f)
raw | patch | inline | side by side (parent: 4eb1f6f)
author | fred-boy <fredboy@protonmail.com> | |
Thu, 26 Sep 2019 17:35:05 +0000 (00:35 +0700) | ||
committer | fred-boy <fredboy@protonmail.com> | |
Sun, 29 Sep 2019 04:39:17 +0000 (11:39 +0700) |
core/src/ru/deadsoftware/cavedroid/game/GameItems.java | patch | blob | history |
diff --git a/core/src/ru/deadsoftware/cavedroid/game/GameItems.java b/core/src/ru/deadsoftware/cavedroid/game/GameItems.java
index 1bbb03cf1997384679f975411c7b958515b834e4..bd0e5bb1dcd90f2788e7b2bd15f47ac9da3fed3e 100644 (file)
public class GameItems {
- private static HashMap<String, Integer> blocksIds = new HashMap<String, Integer>();
- private static HashMap<String, Integer> itemsIds = new HashMap<String, Integer>();
+ private static HashMap<String, Integer> blocksIds = new HashMap<>();
+ private static HashMap<String, Integer> itemsIds = new HashMap<>();
- private static ArrayMap<String, Block> blocks = new ArrayMap<String, Block>();
- private static ArrayMap<String, Item> items = new ArrayMap<String, Item>();
+ private static ArrayMap<String, Block> blocks = new ArrayMap<>();
+ private static ArrayMap<String, Item> items = new ArrayMap<>();
public static boolean isFluid(int id) {
return getBlock(id).isFluid();