DEADSOFTWARE

Add player health
[cavedroid.git] / core / src / ru / deadsoftware / cavedroid / game / mobs / FallingGravel.java
index ede6ba2888490622cc11be47239e4d571d379444..81fdb93b5dbd0e2c8e918167969f19a517f6e17d 100644 (file)
@@ -18,7 +18,7 @@ public class FallingGravel extends Mob {
      * @param y Y in pixels
      */
     public FallingGravel(float x, float y) {
-        super(x, y, 16, 16, Direction.LEFT, Type.GRAVEL);
+        super(x, y, 16, 16, Direction.LEFT, Type.GRAVEL, Integer.MAX_VALUE);
         mVelocity = new Vector2(0, 1);
     }