DEADSOFTWARE

Rename inventory -> inv
[cavedroid.git] / core / src / ru / deadsoftware / cavecraft / game / objects / Player.java
index 4a6c4d41682c36eca08ea7c288d3938df9f66acb..ad5faafeba30e00907637a1fc1e4ed9aef77b6cd 100644 (file)
@@ -13,7 +13,7 @@ public class Player implements Serializable {
     public Vector2 move;
     public int width, height, dir, texWidth;
     public boolean canJump;
-    public int[] inventory;
+    public int[] inv;
     public boolean flyMode = false;
 
     public Player(Vector2 spawnPoint) {
@@ -22,7 +22,7 @@ public class Player implements Serializable {
         width = 4;
         height = 30;
         texWidth = 8;
-        inventory = new int[9];
+        inv = new int[9];
     }
 
     public Rectangle getRect() {