@Override
	public void tick(MainGame game, Person person) {
		if(tentLoc == null) locateNewTent(game, person);
		
		if(person.storedWood.getAmount() < buildRate)
			person.changeTask(new TaskCollectResources("Wood", 50 - person.storedWood.getAmount()));
		
		person.setTargetPosition(tentLoc.x, tentLoc.y);
		
		if(person.getX() == tentLoc.x && person.getY() == tentLoc.y) 
		{
			int available = person.storedWood.getAmount();
			int newAmount = available - buildRate; if(newAmount < 0) newAmount = 0;
			int amount = available - newAmount;
			int ncr = currentResources + amount;
			
			//eg 50 - 49 = 1 || 50 - 55 = -5
			int reqDiff = requiredResources - ncr; if (reqDiff > 0) reqDiff = 0;
			amount = amount + reqDiff;
			
			currentResources += amount;
			person.storedWood.remove(amount);
			
			if(currentResources == requiredResources) completeTask(person);
		}
	}