public void processGroups(LevelManager lm)
	{
		for (Group group: lm.modelManager.units.values())
		{
			//System.out.println(group.position);
			if (group != null)
				processEntities(group.entities);
		}
		for (Group group: lm.modelManager.improvements.values())
			if (group != null)
				processEntities(group.entities);
		for (Group group: lm.modelManager.resources.values())
			if (group != null)
				processEntities(group.entities);
		for (Group group: lm.modelManager.features.values())
			if (group != null)
				processEntities(group.entities);
	}