@Override
 public void toBytes(ByteBuf buf) {
   super.toBytes(buf);
   buf.writeInt(side);
   buf.writeBoolean(increment);
 }
 @Override
 public void fromBytes(ByteBuf buf) {
   super.fromBytes(buf);
   this.side = buf.readInt();
   this.increment = buf.readBoolean();
 }