Lab2 Done

This commit is contained in:
Yunusov_Niyaz 2023-11-04 02:38:48 +04:00
parent dc8923d850
commit b76c220516
3 changed files with 0 additions and 3 deletions

View File

@ -1,6 +1,5 @@
public interface IMoveableObject {
ObjectParameters getObjectPosition();
int getStep();
boolean checkCanMove(DirectionType direction);
void moveObject(DirectionType direction);

View File

@ -9,7 +9,6 @@ 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)
{
POS_X = x;

View File

@ -2,5 +2,4 @@ public enum Status {
NOT_INIT,
IN_PROGRESS,
FINISH
}