comparison src/main/java/alice/test/codesegment/api/TakeCodeSegment.java @ 345:8f71c3e6f11d

Change directory structure Maven standard
author sugi
date Wed, 16 Apr 2014 18:26:07 +0900
parents
children aefbe41fcf12
comparison
equal deleted inserted replaced
344:9f97ec18f8c5 345:8f71c3e6f11d
1 package alice.test.codesegment.api;
2
3 import alice.codesegment.CodeSegment;
4 import alice.datasegment.CommandType;
5 import alice.datasegment.Receiver;
6
7 public class TakeCodeSegment extends CodeSegment {
8
9 Receiver ds1 = ids.create(CommandType.TAKE);
10
11 public TakeCodeSegment(String key){
12 this.ds1.setKey(key);
13 }
14 @Override
15 public void run() {
16 new TakeCodeSegment(ds1.key);
17
18 }
19 }