package NET.worlds.scape; import java.io.IOException; public class Action_Motion extends Action { @Override public Persister trigger(Event e, Persister seqID) { return null; } @Override public void saveState(Saver s) throws IOException { assert false; } @Override public void restoreState(Restorer r) throws IOException { MoveAction a = new MoveAction(); r.replace(this, a); a.cycleTime = (int)r.restoreFloat(); a.cycles = r.restoreInt(); try { a.extentPoint.restoreState(r); a.startPoint.restoreState(r); a.extentScale.restoreState(r); a.startScale.restoreState(r); a.extentSpin.restoreState(r); a.startSpin.restoreState(r); } catch (Exception var4) { } a.extentRotation = r.restoreFloat(); a.startRotation = r.restoreFloat(); a.extentPoint.minus(a.startPoint); a.extentScale.dividedBy(a.startScale); } }