Example #1
0
	public void updateState(Landscape land) {
		Random r = new Random();
		if (selection == 1) {
			int index = r.nextInt(land.getAgent(2).size())
			land.getAgent(2).get(index).addtoQueue(this);
			time = time + 1;
		} else if (selection == 2) {