private boolean checkScannedRobot(){
        
        boolean scanned = false;

        for (int i = 0; i < Board.robots.size(); i++) {
        
            if(Board.robots.get(i) != this){

                Point2D pfradar = this.movePoint(this.radar.x+18 , this.radar.y+20, this.radar.angle, 800);

                Line2D.Double ln = new Line2D.Double((int)this.radar.x+18, (int)this.radar.y+20, (int)pfradar.getX(), (int)pfradar.getY());

                ArrayList<Line2D.Double> liniest2 = Board.robots.get(i).getBoundLines();
                
                if(Board.robots.get(i).isVisible()){
                    for(int e = 0; e<4; e++ ){
                        if(ln.intersectsLine(liniest2.get(e))) {
                            scanned = true;
                            this.onScannedRobot();
                        }
                    }
                }
            }
        }
        return scanned;
    }