remove the update
This commit is contained in:
@@ -6,7 +6,10 @@ import java.util.Set;
|
|||||||
|
|
||||||
import fr.istic.nplouzeau.cartaylor.api.PartType;
|
import fr.istic.nplouzeau.cartaylor.api.PartType;
|
||||||
|
|
||||||
public abstract class CompatibilityManager implements fr.istic.nplouzeau.cartaylor.api.CompatibilityManager {
|
public class CompatibilityManager implements fr.istic.nplouzeau.cartaylor.api.CompatibilityManager {
|
||||||
|
|
||||||
|
private HashMap<PartType, Set<PartType>> incompatibilities;
|
||||||
|
private HashMap<PartType, Set<PartType>> requirements;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void addIncompatibilities(PartType reference, Set<PartType> target){
|
public void addIncompatibilities(PartType reference, Set<PartType> target){
|
||||||
@@ -116,7 +119,13 @@ public abstract class CompatibilityManager implements fr.istic.nplouzeau.cartayl
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Set<PartType> getIncompatibilities(PartType reference) {
|
||||||
|
return this.incompatibilities.get(reference);
|
||||||
|
}
|
||||||
|
|
||||||
public abstract Set<PartType> getIncompatibilities(PartType reference);
|
@Override
|
||||||
public abstract Set<PartType> getRequirements(PartType reference);
|
public Set<PartType> getRequirements(PartType reference) {
|
||||||
|
return this.requirements.get(reference);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user