Mediator: Smalltalk
Centralize the chaotic interactions of multiple chaotic spirits through a master seance table.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Mediator
ARCANUM SCHOOL: Enchantment // Mediumship
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// SMALLTALK PATTERN //
Object subclass: #SeanceTableMediator
instanceVariableNames: 'spirits'
classVariableNames: ''
package: 'Tekromancy-Seance'.
SeanceTableMediator >> notify: aSpirit event: anEvent [
anEvent = #Angry ifTrue: [ self calmAllOthers ].
anEvent = #Departing ifTrue: [ self closePortal ].
]
Instead of phantoms haunting each other, they speak only to the Table, which orchestrates the resonance.
Runic Tags:
#smalltalk
#behavioral
#seance