Mid GoF Patterns

Flyweight Factory (CharacterFactory):?

  • The factory manages the extrinsic state (e.g., the position where the

character is rendered) separately. It ensures that intrinsic state (the symbol)

is shared between all instances, preventing the creation of duplicate objects.

More from Design Patterns in C#

All questions for this course