Mercurial > hg > Database > Alice
comparison src/alice/test/topology/aquarium/SetLocation.java @ 140:b51d3bf971e7 working
add function (refresh)
author | sugi |
---|---|
date | Thu, 20 Sep 2012 01:32:46 +0900 |
parents | 87f1a30a8c82 |
children | 0651fb36a369 |
comparison
equal
deleted
inserted
replaced
139:f995396f2af7 | 140:b51d3bf971e7 |
---|---|
28 float startX = 2*range - 1.5f; | 28 float startX = 2*range - 1.5f; |
29 float endX = 2*range + 1.5f; | 29 float endX = 2*range + 1.5f; |
30 if (startX <= fp.getX() && fp.getX() < endX) | 30 if (startX <= fp.getX() && fp.getX() < endX) |
31 obj.setLocation(fp.getX() - 2*range, fp.getY()); | 31 obj.setLocation(fp.getX() - 2*range, fp.getY()); |
32 | 32 |
33 new SetLocation(this.obj,this.key,this.position.index,this.range); | 33 new SetLocation(this.obj, this.key, this.position.index, this.range); |
34 | 34 |
35 } | 35 } |
36 | 36 |
37 | 37 |
38 } | 38 } |