public void aimMyTank() {
        for(InfoDetail i : info.getEnemies()) {
            int n = 0;
            double x = Math.abs(i.getX() - me.getX());
            
            int result = (int)(Math.toDegrees(Math.acos(x / allDistances.get(n))));
            if(me.getX() <= i.getX() && me.getY() <= i.getY()) {
                result = 180 + result;
            }
            else if(me.getX() < i.getX() && me.getY() > i.getY()){
                result = 180 - result;
            }
            else if(me.getX() >= i.getX() && me.getY() <= i.getY()){
                result = 360 - result;
            }
            myDirection.add(result);
            n++;
        }
    }