view src/alice/test/codesegment/api/TakeCodeSegment.java @ 199:15b68b65f8a4 working

Failed api flip
author sugi
date Thu, 21 Mar 2013 16:48:26 +0900
parents f151dea22b2c
children b5daccf36104
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);
		
	}
}