public void wanderSpawner(){
		if(time % 10 + random.nextInt(25) == 0) pickWanderLocation();
		if(targetX != 0 && targetY != 0) pathTo(new Vector2i(x / 32, y / 32), new Vector2i(targetX, targetY), 0);
	}