How do I design my simple project [1] that concrete decoration (StrawberryIceCreamAdjustable) can change size of a cone, which is encapsulated in concrete component (PlainIceCream) class? Is it even a valid thing to do? Moreover, it would be good to keep eye on SOLID principles.
[1] UML class diagram:
Aucun commentaire:
Enregistrer un commentaire