BIG CHANGEMENT, correction de la configuration, nouveau test)

This commit is contained in:
Rochas
2024-12-19 21:32:03 +01:00
parent 69e9f01cdd
commit 27eedecd8c
9 changed files with 576 additions and 267 deletions

View File

@@ -21,12 +21,16 @@ public class Exterior extends PartImpl {
private String color;
public Exterior(String name, CategoryImpl category, int price){
/*public Exterior(String name, CategoryImpl category, int price){
super(new PartTypeImpl(name,Engine.class, category),price);
Set<String> l = new HashSet<String>();
l.add("red");
this.addProperty("color", () -> getColor(), c -> setColor(c), colorSet);
}*/
public Exterior(){
this.addProperty("color", () -> getColor(), c -> setColor(c), colorSet);
}