DEADSOFTWARE

Remove unnecessary vectors
[cavedroid.git] / core / src / ru / deadsoftware / cavecraft / game / mobs / FallingGravel.java
index 11d02d2d72b29fa5f0b35f2134713959906c9872..441d75f0f3940afb3b510b9d9acf1d29355c0128 100644 (file)
@@ -11,8 +11,7 @@ public class FallingGravel extends Mob {
     public FallingGravel(int x, int y) {
         dir = 0;
         position = new Vector2(x, y);
-        moveX = new Vector2(0, 0);
-        moveY = new Vector2(0, 1);
+        move = new Vector2(0, 1);
         width = 16;
         height = 16;
         canJump = false;