blob: b874e52e8b12b066a82627e4f9ee4b821dcd8cf5 (
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
69
70
71
72
73
74
75
76
77
|
/* */ package NET.worlds.scape;
/* */
/* */ import java.io.IOException;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class Point3
/* */ extends Point3Temp
/* */ implements Persister
/* */ {
/* */ public Point3()
/* */ {
/* 29 */ super(0);
/* */ }
/* */
/* */ public Point3(float x, float y, float z)
/* */ {
/* 34 */ super(0);
/* */
/* 36 */ this.x = x;
/* 37 */ this.y = y;
/* 38 */ this.z = z;
/* */ }
/* */
/* */
/* */ public Point3(Point3Temp p)
/* */ {
/* 44 */ this(p.x, p.y, p.z);
/* */ }
/* */
/* 47 */ private static Object classCookie = new Object();
/* */
/* */ public void saveState(Saver s) throws IOException
/* */ {
/* 51 */ s.saveVersion(0, classCookie);
/* 52 */ s.saveFloat(this.x);
/* 53 */ s.saveFloat(this.y);
/* 54 */ s.saveFloat(this.z);
/* */ }
/* */
/* */ public void restoreState(Restorer r) throws IOException, TooNewException
/* */ {
/* 59 */ switch (r.restoreVersion(classCookie)) {
/* */ case 0:
/* 61 */ this.x = r.restoreFloat();
/* 62 */ this.y = r.restoreFloat();
/* 63 */ this.z = r.restoreFloat();
/* 64 */ break;
/* */ default:
/* 66 */ throw new TooNewException();
/* */ }
/* */ }
/* */
/* */ public void postRestore(int version) {}
/* */ }
/* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\scape\Point3.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/
|