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