Пример #1
0
 public void read(StorableInput dr) throws IOException {
   super.read(dr);
   fRelativeX = dr.readDouble();
   fRelativeY = dr.readDouble();
 }
Пример #2
0
 public void write(StorableOutput dw) {
   super.write(dw);
   dw.writeDouble(fRelativeX);
   dw.writeDouble(fRelativeY);
 }