The Mediator of the World Council
Centralizing the communication between chaotic elemental forces.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Mediator
ARCANUM SCHOOL: Abjuration // Balancing
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// LUA PATTERN //
local Council = {}
function Council:notify(sender, event)
if event == "Tempest" then
print("Council suppresses the storm caused by " .. sender.name)
end
end
local Elemental = {}
Elemental.__index = Elemental
function Elemental:new(name, mediator)
return setmetatable({name=name, mediator=mediator}, self)
end
function Elemental:rage()
self.mediator:notify(self, "Tempest")
end
local fire = Elemental:new("Ignis", Council)
fire:rage()
Mediator
Elementals are chaotic; if left alone, their interlocking reactions would unravel the host engine. The Mediator pattern institutes a World Council. Instead of elementals directly invoking one another, all Fae Moon Glyphs are routed through the central table, ensuring perfect cosmic balance.
Runic Tags:
#fae
#mediator
#centralization