correction impl des Parts (engine, Exterio ,...)

This commit is contained in:
trochas
2024-11-25 15:20:15 +01:00
parent e6994a62b9
commit f62ca87ef3
5 changed files with 37 additions and 59 deletions

View File

@@ -1,10 +1,11 @@
package src.fr.impl.Parts;
import src.fr.api.PartType;
import src.fr.impl.CategoryImpl;
import src.fr.impl.PartImpl;
import src.fr.impl.PartTypeImpl;
public class Exterior extends PartImpl {
public Exterior(PartType partType){
super(partType);
public Exterior(String name, CategoryImpl category){
super(new PartTypeImpl(name,Engine.class, category));
}
}