lab2 some minor fixes
This commit is contained in:
parent
be5dba9a9a
commit
b9c29806b0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user