Builder
Sequentially assemble complex homunculi or golems through a standardized somatic interface.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Builder
ARCANUM SCHOOL: Transmutation // Construct Assembly
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// D PATTERN //
class GolemBuilder {
private string material;
private string rune;
GolemBuilder setMaterial(string m) { material = m; return this; }
GolemBuilder inscribeRune(string r) { rune = r; return this; }
struct Golem { string material; string rune; }
Golem awaken() { return Golem(material, rune); }
}
Construct complex entities step-by-step.
Runic Tags:
#creational
#builder
#dlang
#transmuation