示例#1
0
 @Override
 public void writeData(SpoutOutputStream output) throws IOException {
   super.writeData(output);
   output.writeInt(getMaxNumBubbles());
   output.writeInt(getIconOffset());
 }
示例#2
0
 @Override
 public void readData(SpoutInputStream input) throws IOException {
   super.readData(input);
   setMaxNumBubbles(input.readInt());
   setIconOffset(input.readInt());
 }