public void moveUnitsToHero()
	{
		if (!hero.isInCastle(this)) return;
		List<GroupOfUnits> toRemove = new ArrayList<GroupOfUnits>();
		for (core.GroupOfUnits ug: garisson.getUnits()) {
			if (hero.getUnits().size() >= 6) return;
			boolean found = false;
			for (core.GroupOfUnits uh: hero.getUnits()) {
				if (ug.type == uh.type) {
					uh.setNumber(uh.getNumber()+ug.getNumber());
					toRemove.add(ug);
					//garisson.getUnits().remove(ug);
					found = true;
					break;
				}
			}
			if (found == false) {
				hero.getUnits().add(ug);
				toRemove.add(ug);
				//garisson.getUnits().remove(ug);
			}
			
		}
		garisson.getUnits().removeAll(toRemove);
	}