✨ ARCANUM RUNE DIFFICULTY: Adept Creational

The Abstract Factory

A divination matrix for manifesting aligned families of sigils without specifying their concrete forms.

✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Abstract Factory
ARCANUM SCHOOL: Conjuration // Matrix Mancy
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
coclass 'FireSigilFactory'
create_rune =: 3 : '''Fire Rune'''
create_ward =: 3 : '''Fire Ward'''

coclass 'IceSigilFactory'
create_rune =: 3 : '''Ice Rune'''
create_ward =: 3 : '''Ice Ward'''

cocurrent 'base'
manifest =: 3 : 0
  factory =. y
  r =. create_rune__factory ''
  w =. create_ward__factory ''
  r ; w
)

NB. Usage: manifest conew 'FireSigilFactory'

An abstract factory implemented via locales (namespaces) acting as factory instances.

Runic Tags: #creation #factory #matrix #sigils