Mercurial > hg > Database > Alice
diff src/alice/test/topology/aquarium/SetLocation.java @ 212:b5daccf36104 working
add Receiver state pattern
author | one |
---|---|
date | Wed, 27 Mar 2013 17:30:52 +0900 |
parents | 1b532146b355 |
children | fec0726bb126 |
line wrap: on
line diff
--- a/src/alice/test/topology/aquarium/SetLocation.java Wed Mar 27 16:39:51 2013 +0900 +++ b/src/alice/test/topology/aquarium/SetLocation.java Wed Mar 27 17:30:52 2013 +0900 @@ -19,9 +19,9 @@ @Override public void run(){ - FishPoint fp = this.position.asClass(FishPoint.class); + FishPoint fp = this.position.data.asClass(this.position, FishPoint.class); obj.setLocation(fp.getX(), fp.getY(), fp.getZ()); - new SetLocation(obj, position.key, position.index, range); + new SetLocation(obj, position.data.key, position.data.index, range); }