view Paper/source/SendWidth.java @ 24:bfce690dd189

correct a mistake
author e095732 <e095732@ie.u-ryukyu.ac.jp>
date Wed, 19 Dec 2012 16:07:30 +0900
parents d3cd92ac4bd8
children
line wrap: on
line source

public class SendWidth extends CodeSegment {
    Receiver width = ids.create(CommandType.PEEK);
    @Override
    public void run() {
        int width = this.width.asInteger();
        ods.put("parent", "widths", width);
        System.out.println("send widths: " + width);
        SendWidth cs = new SendWidth();
        cs.width.setKey("local", "width", this.width.index);
    }
}