Mercurial > hg > Members > tatsuki > Alice
diff src/alice/test/topology/movement/CheckMyName.java @ 97:df786bf8f036 working
add FishPoint.java and Test
author | sugi |
---|---|
date | Tue, 26 Jun 2012 16:48:09 +0900 |
parents | 38f4021353c5 |
children | 993a9f194615 |
line wrap: on
line diff
--- a/src/alice/test/topology/movement/CheckMyName.java Tue Jun 19 17:52:01 2012 +0900 +++ b/src/alice/test/topology/movement/CheckMyName.java Tue Jun 26 16:48:09 2012 +0900 @@ -30,15 +30,16 @@ MakeObject obj3 = new MakeObject(frame); frame.register(obj3); new CheckFishLocation(obj3,"fish3X"); - + /* MakeObject obj = new MakeObject(frame); frame.register(obj); new CheckFishLocation(obj,"fish1X"); - + */ }else if(type.equals("node")){ System.out.println("node0"); - ods.update("local", "fish3X", 0); - ods.update("local", "fish1X", -1000); + + ods.update("local", "fish3X", new FishPoint(0.0f,0.0f)); + //ods.update("local", "fish1X", new FishPoint(-1.0f,0.0f)); }