package NET.worlds.scape; import java.io.IOException; public class Action_Animation 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 { AnimateAction a = new AnimateAction(); r.replace(this, a); a.cycleTime = (int)r.restoreFloat(); a.cycles = r.restoreInt(); a.frameList = r.restoreString(); } }