DEADSOFTWARE

Rename position -> pos
[cavedroid.git] / core / src / ru / deadsoftware / cavecraft / game / mobs / FallingSand.java
index b491af5dc7dace59f61af69a0a53ab9b4d5986f4..b9108845122a13791d098539cf1d1b7f6dfe52ea 100644 (file)
@@ -10,7 +10,7 @@ public class FallingSand extends Mob {
 
     public FallingSand(int x, int y) {
         dir = 0;
-        position = new Vector2(x, y);
+        pos = new Vector2(x, y);
         move = new Vector2(0, 1);
         width = 16;
         height = 16;
@@ -33,7 +33,7 @@ public class FallingSand extends Mob {
 
     @Override
     public Rectangle getRect() {
-        return new Rectangle(position.x, position.y, width, height);
+        return new Rectangle(pos.x, pos.y, width, height);
     }
 
     @Override