public void setAgentLocation(int a, int x, int y) {
		// don't allow movement to an invalid location
		if (x < 0 || x > gameSize - 1 || y < 0 || y > gameSize - 1)
			return;

		// don't allow movement to already taken location
		// if (e[x][y].agent != -1)
		// return;
		// System.out.printf("agent %d on square already\n", e[x][y].agent);

		if (e[x][y].agent == -1) {// && e[x][y].available) {
			removeAgentLocation(a);
			aStats[a].x = x;
			aStats[a].y = y;
			e[x][y].agent = a;
			if (e[x][y].Color == true) {
				aStats[a].newScore++;
				e[x][y].Color = false; // no color anymore on that block
				totalC--;
			}
			e[x][y].agentScore = aStats[a].score; // sets the agent to that
													// agent number on the block
		}
		// else{
		// lose(a);
		// }

	}