summaryrefslogtreecommitdiff
path: root/NET/worlds/scape/WrRectPatch.java
blob: 7efd67c28bff08f6cf68bec1b41ea6b3e05c63df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package NET.worlds.scape;

import java.io.IOException;

class WrRectPatch extends RectPatch {
   private static Object classCookie = new Object();

   @Override
   public void saveState(Saver s) throws IOException {
      assert false;
   }

   @Override
   public void restoreState(Restorer r) throws IOException, TooNewException {
      RectPatch p = new RectPatch();
      r.replace(this, p);
      p.restoreStateRectPatchHelper(r, classCookie);
   }
}