X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=core%2Fsrc%2Fru%2Fdeadsoftware%2Fcavecraft%2Fgame%2Fmobs%2FFallingGravel.java;h=de841190239a0d541bc3a84c59581017dd789ca5;hb=feb58daa2c3e8126871e9d4f26e978d2fc1fb01c;hp=11d02d2d72b29fa5f0b35f2134713959906c9872;hpb=bea2a3c5b967bcd90ccd83e08e833d58449e963a;p=cavedroid.git diff --git a/core/src/ru/deadsoftware/cavecraft/game/mobs/FallingGravel.java b/core/src/ru/deadsoftware/cavecraft/game/mobs/FallingGravel.java index 11d02d2..de84119 100644 --- a/core/src/ru/deadsoftware/cavecraft/game/mobs/FallingGravel.java +++ b/core/src/ru/deadsoftware/cavecraft/game/mobs/FallingGravel.java @@ -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; @@ -29,7 +28,7 @@ public class FallingGravel extends Mob { @Override public void draw(SpriteBatch spriteBatch, float x, float y) { - spriteBatch.draw(Assets.blockTextures[Items.BLOCKS.get("gravel").getTexture()], x, y); + spriteBatch.draw(Assets.blockTex[Items.blocks.get("gravel").getTex()], x, y); } @Override