Prototype Pattern - main players


  • IPrototype
    • Defines the interface that says prototypes must be cloneable
  • Prototype
    • A class with cloning capabilities
  • PrototypeManager
    • Maintains a list of clone types and their keys
  • Client
    • Adds prototypes to the list and requests clones