md.compileLastStep();
    public void drawMovementData(Entity entity, MovePath md) {        Vector temp = pathSprites;        clearMovementData();        md.compileLastStep();        for (java.util.Enumeration i = md.getSteps(); i.hasMoreElements();) {            final MoveStep step = (MoveStep)i.nextElement();            // check old movement path for reusable step sprites            boolean found = false;            for (Iterator j = temp.iterator(); j.hasNext();) {                final StepSprite sprite = (StepSprite)j.next();                if (sprite.getStep().equals(step)) {                    pathSprites.addElement(sprite);                    found = true;                }            }            if (!found) {                pathSprites.addElement(new StepSprite(step));            }        }    }