public void setpos(MapView mv, Gob player, Coord sz) {

            if (needreset) {
                needreset = false;
                mv.mc = player.position();
            }

            if (tgt != null) {
                if (mv.mc.dist(tgt) < 10) {
                    tgt = null;
                } else {
                    long now = System.currentTimeMillis();
                    double dt = (now - lmv) / 1000.0;
                    lmv = now;
                    mv.mc = tgt.add(mv.mc.add(tgt.inv()).mul(Math.exp(v * dt)));
                }
            }
            borderize(mv, player, sz, border);
        }