The Observer
Bind cosmic sensors to a central singularity.
β§ GANG OF FOUR LINEAGE & ARCANUM β§
GOF DESIGN PATTERN: Observer
ARCANUM SCHOOL: Divination // Resonance-Binding
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// APL PATTERN //
:Class Singularity
:Field Private Observers β β¬
:Field Private Mass β 0
β Attach Obs
:Access Public
Observers β Observers , Obs
β
β SetMass M
:Access Public
Mass β M
Notify
β
β Notify
:Access Private
{β΅.Update Mass} Β¨ Observers
β
:EndClass
:Class CosmicSensor
:Field Private Designation
β Make D
:Access Public
:Implements Constructor
Designation β D
β
β Update Mass
:Access Public
β β Designation, ' detects Singularity mass shift to ', βMass, ' β'
β
:EndClass
A shifting Singularity (β) ripples across multiple dimensions. Instead of forcing cosmic sensors to continually poll the void, the Observer pattern binds them directly to the anomaly. When the Singularityβs mass changes, it iterates across all bound sensors ({β΅.Update Mass} Β¨ Observers), instantly propagating the resonance shift to the furthest edges of the alien fleet.
Runic Tags:
#apl
#behavioral
#alien
#observer
#singularity