private void setBodyPart(BodyPart bodypart, Robot robot){
		switch (this.activeBodypartSummaryPanel.getBodypart().getType()){
		case Head:
			robot.setHead((Head) bodypart);
			break;
		case Body:
			robot.setBody((Body) bodypart);
			break;
		case Limbs:
			robot.setLimbs((Limbs) bodypart);
			break;
		}
	}