import java.util.Random;

public class AgentCollide extends Agent {
	
//	double[] stop = {0.0,0.0,0.0,0.0, 0.0,0.0,0.0,0.0, 0.0,0.0,0.0,0.0};

	public void init() {
		attachTimer(100);
	}
	
	public void senseSelectAct() {
//		double[] ds = (double[]) read("Sonar",stop);

//		Boolean bump = (Boolean) read("Bump",Boolean.FALSE);
//		if (bump.booleanValue()) write("Turn",new Integer(-1),100);
//		else write("Forward",new Float(1f),100);

		Boolean bump = (Boolean) read("Bump",Boolean.FALSE);
//		if (bump.booleanValue()) write("Forward",new Float(-1f),1500,1f);
//		else write("Forward",new Float(1f),100,0f);

	}
	
}
