I've got a problem with choosing right design pattern to the following situation: A class diagram As you can see, the list could go on to the infinity, because at some point I will want to create an object that could be Consumed and Equipped so that creates another class and so on... Is there any design pattern that could solve a problem here?
Thanks in advance!
Aucun commentaire:
Enregistrer un commentaire