public ArrayList<BodyPart> getBodypartsByType(UpgradeType type){
		ArrayList<BodyPart> bodyparts = new ArrayList<BodyPart>();
		switch (type) {
		case Head:
			for(BodyPart u : allHeads){
				bodyparts.add(u);
			}
			return bodyparts;
		case Body:
			for(BodyPart u : allBodys){
				bodyparts.add(u);
			}
			return bodyparts;
		case Limbs:
			for(BodyPart u : allLimbs){
				bodyparts.add(u);
			}
			return bodyparts;
		}
		return new ArrayList<BodyPart>();
	}