From b9c29806b0b6819a5d33c67971555807debcd70b Mon Sep 17 00:00:00 2001 From: Zakharov_Rostislav Date: Thu, 9 Nov 2023 16:08:40 +0400 Subject: [PATCH] lab2 some minor fixes --- src/movement_strategy/ObjectParameters.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/movement_strategy/ObjectParameters.java b/src/movement_strategy/ObjectParameters.java index 5bc3410..63d1487 100644 --- a/src/movement_strategy/ObjectParameters.java +++ b/src/movement_strategy/ObjectParameters.java @@ -11,8 +11,7 @@ public class ObjectParameters { public int getDownBorder() {return POS_Y + HEIGHT;} public int getObjectMiddleHorizontal() {return POS_X + this.WIDTH / 2;} public int getObjectMiddleVertical() {return POS_Y + this.HEIGHT / 2;} - public ObjectParameters(int x, int y, int width, int height) - { + public ObjectParameters(int x, int y, int width, int height) { POS_X = x; POS_Y = y; WIDTH = width;