@Override
    public boolean inBoard() {
    
        if(((x > -10)&&(x <= Board.WIDTH-10)&&(y > -10)&&(y <= Board.HEIGHT-10))){
           return true;
       } else {
           return false;
       } 
    }