view src/main/java/alice/test/codesegment/api/TakeCodeSegment.java @ 467:6e304a7a60e7 dispose

remove white space
author sugi
date Sat, 22 Nov 2014 12:08:24 +0900
parents aefbe41fcf12
children 15eeb439830c
line wrap: on
line source

package alice.test.codesegment.api;

import alice.codesegment.CodeSegment;
import alice.datasegment.CommandType;
import alice.datasegment.Receiver;

public class TakeCodeSegment extends CodeSegment {

    Receiver ds1 = ids.create(CommandType.TAKE);

    public TakeCodeSegment(String key){
        this.ds1.setKey(key);
    }
    @Override
    public void run() {
        new TakeCodeSegment(ds1.key);

    }
}