The Composite of the Fractal Runes
Compose tag-wards into tree structures to represent part-whole hierarchies.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Composite
ARCANUM SCHOOL: Illusion // Fractals
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// COLDFUSION PATTERN //
interface name="IRune" {
public void activate();
}
component name="SimpleRune" implements="IRune" {
public void function activate() {
writeOutput("Single rune glowing. ");
}
}
component name="RuneCluster" implements="IRune" {
variables.runes = [];
public void function addRune(IRune rune) {
arrayAppend(variables.runes, arguments.rune);
}
public void function activate() {
for (var r in variables.runes) {
r.activate();
}
}
}
When weaving massive binding circles, treating a single rune the same as an entire cluster of runes greatly simplifies the chant. The Composite pattern lets the alchemist invoke activate() on the highest-level ward, cascading the magical energy down through all nested sigils.
Runic Tags:
#composite
#coldfusion
#fractal-magic
#trees