public WeaponPart getPartByTypeAndName(int partType, String name){
		
		ArrayList<WeaponPart> partList = new ArrayList<WeaponPart>();

		switch(partType){
			case FIGUREHEADS:
				partList = figureheadList;
				break;
			case ENGINES:
				partList = engineList;
				break;
			case HULLS:
				partList = hullList;
				break;
			case SAILS:
				partList = sailList;
				break;
			case STABILIZERS:
				partList = stabilizerList;
				break;
		}
		
		for(WeaponPart p: partList){
			if(p.getName().equals(name)){
				return p;
			}
		}
		return null;
	}