Monolithic Model
PhysicsObject → StuffedAnimal
→ FloatingObject
→ DestructibleObject
Problems
- Bubble-Up Effect
- What if we want to make
StuffedAnimal
floatable? - The floating behavior will be bubbled up.
- What if we want to make
- Solution Pure Component Model