📚 SMALLTALK SEANCE DIFFICULTY: Adept Structural

Decorator: Smalltalk

Dynamically wrap spirits in layered auras to augment their manifestations.

✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Decorator
ARCANUM SCHOOL: Transmutation // Aura Enhancement
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// SMALLTALK PATTERN //
Object subclass: #AuraDecorator
  instanceVariableNames: 'spirit'
  classVariableNames: ''
  package: 'Tekromancy-Seance'.

AuraDecorator >> on: aSpirit [ spirit := aSpirit ]

AuraDecorator >> manifest [
    spirit manifest.
    Transcript show: '...accompanied by a chilling wind!'.
]

Add behaviors to your phantoms dynamically by wrapping them in layers of enchanting decorators.

Runic Tags: #smalltalk #structural #seance