summaryrefslogtreecommitdiff
path: root/NET/worlds/scape/PathMoveAction.java
blob: 39645e2273df57fcd55ed8b309e85ac97bd5d20f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package NET.worlds.scape;

import java.io.IOException;

public class PathMoveAction extends Action {
   private static Object classCookie = new Object();

   @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, TooNewException {
      MoveAction a = new MoveAction();
      r.replace(this, a);
      a.restoreStateMoveActionHelper(r, classCookie);
   }
}