diff options
Diffstat (limited to 'NET/worlds/scape/WrRectPatch.java')
| -rw-r--r-- | NET/worlds/scape/WrRectPatch.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/NET/worlds/scape/WrRectPatch.java b/NET/worlds/scape/WrRectPatch.java new file mode 100644 index 0000000..7efd67c --- /dev/null +++ b/NET/worlds/scape/WrRectPatch.java @@ -0,0 +1,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); + } +} |