DEADSOFTWARE

Rename move -> velocity
[cavedroid.git] / core / src / ru / deadsoftware / cavedroid / game / mobs / FallingGravel.java
index 23cf1dcc836de3b434aa7e9deea52ca53b691568..359a74b59bd2e4beceeaa99d43ccede790574243 100644 (file)
@@ -19,12 +19,12 @@ public class FallingGravel extends Mob {
      */
     public FallingGravel(float x, float y) {
         super(x, y, 16, 16, Direction.LEFT, Type.GRAVEL);
-        mMove = new Vector2(0, 1);
+        mVelocity = new Vector2(0, 1);
     }
 
     @Override
     public void ai(GameWorld gameWorld) {
-        if (mMove.isZero()) {
+        if (mVelocity.isZero()) {
             gameWorld.setForeMap(getMapX(), getMiddleMapY(), 11);
             kill();
         }