Vector temp = pathSprites; pathSprites = new Vector();
ArrayList<Sprite> temp = pathSprites; pathSprites = new ArrayList<Sprite>();
    public void clearMovementData() {        Vector temp = pathSprites;        pathSprites = new Vector();        for (Iterator i = temp.iterator(); i.hasNext();) {            final Sprite sprite = (Sprite) i.next();            repaintBounds(sprite.getBounds());        }    }