comparison src/alice/test/topology/aquarium/SetLocation.java @ 216:21bd8af1cf26 working

change asClass method
author one
date Wed, 27 Mar 2013 19:38:33 +0900
parents fec0726bb126
children b5c642ba998e
comparison
equal deleted inserted replaced
215:1fd7067f0044 216:21bd8af1cf26
17 this.position.setKey("local",key,index); 17 this.position.setKey("local",key,index);
18 } 18 }
19 19
20 @Override 20 @Override
21 public void run(){ 21 public void run(){
22 FishPoint fp = this.position.data.asClass(this.position, FishPoint.class); 22 FishPoint fp = this.position.asClass(FishPoint.class);
23 obj.setLocation(fp.getX(), fp.getY(), fp.getZ()); 23 obj.setLocation(fp.getX(), fp.getY(), fp.getZ());
24 new SetLocation(obj, position.key, position.index, range); 24 new SetLocation(obj, position.key, position.index, range);
25 25
26 } 26 }
27 27