The Observer Scrying Orb
Broadcasting state changes to all bound familiars.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Observer
ARCANUM SCHOOL: Divination // Scrying
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// EIFFEL PATTERN //
deferred class
SCRYING_OBSERVER
feature
update_vision (state: STRING)
deferred
end
end
class
SCRYING_SUBJECT
feature
observers: LINKED_LIST [SCRYING_OBSERVER]
attach (obs: SCRYING_OBSERVER)
do
observers.extend (obs)
end
notify_all (state: STRING)
do
across observers as o loop
o.item.update_vision (state)
end
end
end
The Observer pattern establishes a scrying link. When the focal point shifts, all attached entities are instantly notified of the new paradigm.
Runic Tags:
#behavioral
#observer
#eiffel