Валидатор пишет "Отсутствует метод setDirection с одним параметром типа double." Я уже пробовал по разному и с параметром и без, но все равно метод не существует, что не так??
package com.javarush.task.task24.task2413;
import java.util.List;
public class Arkanoid {
private int height;
private int width;
private Ball ball;
private Stand stand;
private List<Brick> bricks;
static Arkanoid game;
public void run(){}
public void move(){}
public void setBall(Ball ball) {
this.ball = ball;
}
public void setStand(Stand stand) {
this.stand = stand;
}
public void setBricks(List<Brick> bricks) {
this.bricks = bricks;
}
public Ball getBall() {
return ball;
}
public Stand getStand() {
return stand;
}
public List<Brick> getBricks() {
return bricks;
}
public Arkanoid(int width, int height) {
this.width = width;
this.height = height;
}
public void setHeight(int height) {
this.height = height;
}
public void setWidth(int width) {
this.width = width;
}
public int getHeight() {
return height;
}
public int getWidth() {
return width;
}
public static void main(String[] args) {
}
}