add parts
This commit is contained in:
@@ -66,7 +66,6 @@ public class ConfigurationImpl implements Configuration {
|
||||
@Override
|
||||
public void selectPart(PartType chosenPart) {
|
||||
Category cat_chosenPart = chosenPart.getCategory();
|
||||
|
||||
//Vérifier s'il y a des pièces dans la même catégorie, si oui return
|
||||
for(Part pt: selectedParts){
|
||||
if(pt.getCategory().equals(cat_chosenPart)){
|
||||
|
||||
Reference in New Issue
Block a user