diff 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
line wrap: on
line diff
--- a/src/alice/test/topology/aquarium/SetLocation.java	Wed Mar 27 18:35:43 2013 +0900
+++ b/src/alice/test/topology/aquarium/SetLocation.java	Wed Mar 27 19:38:33 2013 +0900
@@ -19,7 +19,7 @@
 	
 	@Override
 	public void run(){
-		FishPoint fp = this.position.data.asClass(this.position, FishPoint.class);
+		FishPoint fp = this.position.asClass(FishPoint.class);
 		obj.setLocation(fp.getX(), fp.getY(), fp.getZ());
 		new SetLocation(obj, position.key, position.index, range);