DEADSOFTWARE

Remove unnecessary vectors
[cavedroid.git] / core / src / ru / deadsoftware / cavecraft / game / mobs / FallingSand.java
index 37f8a59c366527c6946f5d2c3e9a96e26a1be29c..a410eb3541a2cfc36d8108a3d6257d03865245c5 100644 (file)
@@ -11,8 +11,7 @@ public class FallingSand extends Mob {
     public FallingSand(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;