Yes. I would help to keep the two actor types with different behaviors separate. The Auto class can still maintain some rudimentary methods and fields that both share.
private void descarga()
{
if (relleno!=null){
relleno.descargar(capacidad);
eliminar();
crear();
}
}
private void eliminar()
{
if (isTouching(Relleno.class)) {
getWorld().removeObject(this);
}
}
private void crear()
{
Recolector recolectorcontinuado = new Recolector();
getWorld().addObject(recolectorcontinuado, 963, 265);
recolectorcontinuado.setnumRuta(7);
}