diff src/alice/test/topology/fishmodel/alpha/AutoIncrement.java @ 133:26b4b18c51fa working

minor change
author sugi
date Tue, 14 Aug 2012 21:02:11 +0900
parents 1044a79ce4ef
children
line wrap: on
line diff
--- a/src/alice/test/topology/fishmodel/alpha/AutoIncrement.java	Tue Aug 14 19:43:10 2012 +0900
+++ b/src/alice/test/topology/fishmodel/alpha/AutoIncrement.java	Tue Aug 14 21:02:11 2012 +0900
@@ -11,9 +11,9 @@
 	float max = 3.3f;
 	float min = -1.3f;
 	
-	public AutoIncrement(String key){
+	public AutoIncrement(String key,int index){
 		this.key = key;
-		this.position.setKey("local", key);
+		this.position.setKey("local", key,index);
 	}
 
 	@Override
@@ -41,7 +41,7 @@
 			}
 		}
 		
-		new AutoIncrement(this.key);
+		new AutoIncrement(this.key,this.position.index);
 	}
 	
 }