summaryrefslogtreecommitdiff
path: root/NET/worlds/scape/Point3.java
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-03 16:38:41 -0700
committerFuwn <[email protected]>2021-05-03 16:38:41 -0700
commite1e781bb2135ef78592226f1a3eaba4925702f1f (patch)
tree8a5b590463ed413e1c6eabb719130e701b95ca63 /NET/worlds/scape/Point3.java
downloadworlds.jar-e1e781bb2135ef78592226f1a3eaba4925702f1f.tar.xz
worlds.jar-e1e781bb2135ef78592226f1a3eaba4925702f1f.zip
:star:HEADmain
Diffstat (limited to 'NET/worlds/scape/Point3.java')
-rw-r--r--NET/worlds/scape/Point3.java77
1 files changed, 77 insertions, 0 deletions
diff --git a/NET/worlds/scape/Point3.java b/NET/worlds/scape/Point3.java
new file mode 100644
index 0000000..b874e52
--- /dev/null
+++ b/NET/worlds/scape/Point3.java
@@ -0,0 +1,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
+ */ \ No newline at end of file