public void updatePos() {
        if(--time >= 0) {
            for (int i = 0; i < Map.getHeight(); i++) {
                for (int j = 0; j < Map.getWidth(); j++) {
                    if (Utils.distance(j, i, px, py) == radius - time)
                        Map.addAttack(new Attack(j, i, father));
                }
            }
        }
    }