public void move(){
double dx=speed*direction;
x=x+dx;
}
package com.javarush.task.task24.task2413;
import java.util.List;
public class Arkanoid {
private int width;
private int height;
private Ball ball;
private Stand stand;
private List<Brick> bricks;
public static Arkanoid game;
public static void main(String[] args){}
public void setWidth(int wi){ width=wi;}
public void setHeight(int hi){ height=hi; }
public int getHeight(){ return height; }
public int getWidth(){return width;}
public Arkanoid(int width,int height){
this.width=width;this.height=height;
}
public Ball getBall(){ return this.ball;}
public void setBall(Ball ba){this.ball=ba;}
public Stand getStand(){return stand;}
public void setStand(Stand st){stand=st;}
public void setBricks(List<Brick> br){bricks=br;}
public List<Brick> getBricks(){return bricks;}
public void run(){}
public void move(){}
}