I don't know if this is the correct way to go about this or if I'm making this overly complex but I have an interface that's implemented by many other classes and a single class creates these the objects that have this interface and passes that. The idea is to allow for adding new features to be easy just by create a class that implements that interface without needing to change other code. Thoughts?
Aucun commentaire:
Enregistrer un commentaire