подскажите где ошибка
package com;
public class Stand extends BaseObject{
private double speed;
private double direction;
public double getSpeed() {
return speed;
}
public double getDirection() {
return direction;
}
public Stand(double x, double y) {
super(x, y, 3);
speed=1;
direction=0;//0 - начальное значение, стоим на месте
}
@Override
void draw(Canvas canvas) {
}
@Override
void move() {
x=x+speed*direction;
}
void moveLeft(){
direction=-1;
}
void moveRight(){
direction=1;
}
}