DEADSOFTWARE

Inspect code
[cavedroid.git] / core / src / ru / deadsoftware / cavedroid / game / objects / Item.java
index a619a1babfdcfd94e3c76a2fb86261d88f00055d..0083001d05d844a3744146e3e0d0cd544d7c89c8 100644 (file)
@@ -4,8 +4,9 @@ import com.badlogic.gdx.graphics.g2d.Sprite;
 
 public class Item {
 
-    private String name, type;
-    private Sprite tex;
+    private final String name;
+    private final String type;
+    private final Sprite tex;
 
     public Item(String name, String type, Sprite tex) {
         this.name = name;