lab2 some minor fixes

This commit is contained in:
Zakharov_Rostislav 2023-11-09 16:08:40 +04:00
parent be5dba9a9a
commit b9c29806b0

View File

@ -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;