예제 #1
0
 /** Reads the arrow tip from a StorableInput. */
 public void read(StorableInput dr) throws IOException {
   setAngle(dr.readDouble());
   setOuterRadius(dr.readDouble());
   setInnerRadius(dr.readDouble());
   super.read(dr);
 }
예제 #2
0
 /** Stores the arrow tip to a StorableOutput. */
 public void write(StorableOutput dw) {
   dw.writeDouble(getAngle());
   dw.writeDouble(getOuterRadius());
   dw.writeDouble(getInnerRadius());
   super.write(dw);
 }