Mercurial > hg > Members > tatsuki > Alice
comparison src/alice/test/topology/aquarium/CheckMyName.java @ 270:23e53aaa8720
reconnect manager worked.
author | sugi |
---|---|
date | Wed, 21 Aug 2013 15:33:49 +0900 |
parents | ba55adb8a042 |
children | 3667ab045530 |
comparison
equal
deleted
inserted
replaced
269:9982e1c4f099 | 270:23e53aaa8720 |
---|---|
52 ods.update(key, new FishPoint((float)Math.random(), | 52 ods.update(key, new FishPoint((float)Math.random(), |
53 (float)Math.random(), (float)Math.random())); | 53 (float)Math.random(), (float)Math.random())); |
54 new SetLocation(new MakeObject(frame), key, 0); | 54 new SetLocation(new MakeObject(frame), key, 0); |
55 new CheckLocalIndex(key,1); | 55 new CheckLocalIndex(key,1); |
56 } | 56 } |
57 | 57 /* |
58 for (int i = 3; i < 6 ; i++){ | 58 for (int i = 3; i < 6 ; i++){ |
59 key = "fish"+i; | 59 key = "fish"+i; |
60 if (num == 1) new AutoIncrement(key,0); | 60 if (num == 1) new AutoIncrement(key,0); |
61 Random rnd = new Random(); | 61 Random rnd = new Random(); |
62 int tmp = rnd.nextInt(3); | 62 int tmp = rnd.nextInt(3); |
89 | 89 |
90 ods.update(key, new FishPoint( (float)rand, | 90 ods.update(key, new FishPoint( (float)rand, |
91 -(float)Math.random(), (float)Math.random())); | 91 -(float)Math.random(), (float)Math.random())); |
92 new SetLocation(new MakeObject(frame), key, 0); | 92 new SetLocation(new MakeObject(frame), key, 0); |
93 new CheckLocalIndex(key,1); | 93 new CheckLocalIndex(key,1); |
94 } | 94 }*/ |
95 | 95 |
96 } | 96 } |
97 } | 97 } |