MoveStep step = (MoveStep)temp.get(i);
MoveStep step = (MoveStep)temp.elementAt(i);
    public void compile(Game g, Entity en) {        this.game = g;        this.entity = en;        Vector temp = new Vector(steps);        steps.clear();        for (int i = 0; i < temp.size(); i++) {            MoveStep step = (MoveStep)temp.get(i);            if (step.getTarget(game) != null) {                step = new MoveStep(this, step.getType(), step.getTarget(game));            } else {                step = new MoveStep(this, step.getType());            }            this.addStep(step);        }		compileLastStep();    }