blob: c2e04b1357523d62ab4c90fbc79c600cd5c87d3f (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
/* */ package NET.worlds.scape;
/* */
/* */ import java.io.IOException;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ class WrVisiRectPatch
/* */ extends RectPatch
/* */ {
/* 20 */ private static Object classCookie = new Object();
/* */
/* */ public void saveState(Saver s) throws IOException
/* */ {
/* 24 */ if (!$assertionsDisabled) throw new AssertionError();
/* */ }
/* */
/* */ public void restoreState(Restorer r) throws IOException, TooNewException
/* */ {
/* 29 */ RectPatch p = new RectPatch();
/* 30 */ r.replace(this, p);
/* */
/* 32 */ switch (r.restoreVersion(classCookie)) {
/* */ case 0:
/* 34 */ super.restoreState(r);
/* 35 */ this.xTile = r.restoreFloat();
/* 36 */ this.xTileOffset = r.restoreFloat();
/* 37 */ this.yTile = r.restoreFloat();
/* 38 */ this.yTileOffset = r.restoreFloat();
/* 39 */ this.mat = ((Material)r.restoreMaybeNull());
/* 40 */ this.t[0] = ((Polygon)r.restoreMaybeNull());
/* 41 */ this.t[1] = ((Polygon)r.restoreMaybeNull());
/* 42 */ this.t[2] = ((Polygon)r.restoreMaybeNull());
/* 43 */ this.t[3] = ((Polygon)r.restoreMaybeNull());
/* 44 */ break;
/* */ default:
/* 46 */ throw new TooNewException();
/* */ }
/* */
/* 49 */ p.xDim = this.xDim;
/* 50 */ p.yDim = this.yDim;
/* 51 */ p.z[0] = this.z[0];
/* 52 */ p.z[1] = this.z[1];
/* 53 */ p.z[2] = this.z[2];
/* 54 */ p.z[3] = this.z[3];
/* 55 */ p.xTile = this.xTile;
/* 56 */ p.xTileOffset = this.xTileOffset;
/* 57 */ p.yTile = this.yTile;
/* 58 */ p.yTileOffset = this.yTileOffset;
/* 59 */ p.mat = this.mat;
/* 60 */ p.setVisible(true);
/* */ }
/* */ }
/* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\scape\WrVisiRectPatch.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/
|