DEADSOFTWARE

Rename position -> pos
[cavedroid.git] / core / src / ru / deadsoftware / cavecraft / game / mobs / FallingGravel.java
index 21b8dd84f6aa63a58e2ad23de84d0b94389d6f2f..cc3c389840854a30da9091ab1803524daf3188d9 100644 (file)
@@ -10,7 +10,7 @@ public class FallingGravel extends Mob {
 
     public FallingGravel(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 FallingGravel 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