DEADSOFTWARE

Some refactor
[cavedroid.git] / core / src / ru / deadsoftware / cavecraft / game / objects / Item.java
index 8c1388116b351913dd36323a9914d50e16f4b4ac..b34a91778ad9f61596afd9fe62a1d83e9fa0714b 100644 (file)
@@ -2,24 +2,24 @@ package ru.deadsoftware.cavecraft.game.objects;
 
 public class Item {
 
-    private int texture;
+    private int tex;
     private int type; // 0 - block, 1 - tool, 2 - other
     private int block;
     private String name;
 
-    public Item(String name, int texture, int type) {
-        this(name, texture, type, -1);
+    public Item(String name, int tex, int type) {
+        this(name, tex, type, -1);
     }
 
-    public Item(String name, int texture, int type, int block) {
+    public Item(String name, int tex, int type, int block) {
         this.name = name;
-        this.texture = texture;
+        this.tex = tex;
         this.type = type;
         this.block = block;
     }
 
-    public int getTexture() {
-        return texture;
+    public int getTex() {
+        return tex;
     }
 
     public int getType() {