cho.sh
Monolithic Model

Monolithic Model

Warning

This post is more than a year old. Information may be outdated.

PhysicsObject → StuffedAnimal
              → FloatingObject
              → DestructibleObject

Problems

  • Bubble-Up Effect
    • What if we want to make StuffedAnimal floatable?
    • The floating behavior will be bubbled up.
  • Solution Pure Component Model