Подскажите пожалуйста в чём я не прав ?
package com.javarush.task.task24.task2413;
public class Ball extends BaseObject{
private double speed;
private double direction;
private double dx;
private double dy;
private boolean isFrozen;
public Ball(double x, double y, double speed, double direction) {
super(x, y, 1);
this.speed = speed;
this.direction = direction;
this.isFrozen = true;
}
public double getSpeed() { return speed; }
public double getDirection() { return direction; }
public double getDx() { return dx; }
public double getDy() { return dy; }
void draw (Canvas canvas){
canvas.setPoint(x, y, 'О');
}
void move(){
if (isFrozen = false) { x = x + dx; y = y + dy; }
else return; }
boolean start(){return isFrozen = false;}
}