X-Git-Url: https://deadsoftware.ru/gitweb?p=cavedroid.git;a=blobdiff_plain;f=core%2Fsrc%2Fru%2Fdeadsoftware%2Fcavecraft%2Fgame%2Fmobs%2FFallingGravel.java;h=cc3c389840854a30da9091ab1803524daf3188d9;hp=21b8dd84f6aa63a58e2ad23de84d0b94389d6f2f;hb=be2690f1dee10f68a5ce6d576ace13c825ac5d15;hpb=5fd3c5a7647fbf36de84ff184f58fad5e0e30644 diff --git a/core/src/ru/deadsoftware/cavecraft/game/mobs/FallingGravel.java b/core/src/ru/deadsoftware/cavecraft/game/mobs/FallingGravel.java index 21b8dd8..cc3c389 100644 --- a/core/src/ru/deadsoftware/cavecraft/game/mobs/FallingGravel.java +++ b/core/src/ru/deadsoftware/cavecraft/game/mobs/FallingGravel.java @@ -10,7 +10,7 @@ public class FallingGravel extends Mob { public FallingGravel(int x, int y) { dir = 0; - position = new Vector2(x, y); + pos = new Vector2(x, y); move = new Vector2(0, 1); width = 16; height = 16; @@ -33,7 +33,7 @@ public class FallingGravel extends Mob { @Override public Rectangle getRect() { - return new Rectangle(position.x, position.y, width, height); + return new Rectangle(pos.x, pos.y, width, height); } @Override