If you can't read please download the document
Upload
francesco-ierna
View
600
Download
11
Embed Size (px)
Citation preview
PRESENTATION NAME
Decorator Pattern
Francesco Ierna
Decorator Pattern
1. Creo base
2. wrappo la base aggiungendo condimenti
3. il totale dato dal costo della base + i condimenti che sono stati aggiunti alla base
Oggetti:
Base + n condimenti aggiunti alla base
Decorator Pattern Problem
Solution
Solution Example
Decorator Code Example
Code Example
Code