The Spectral Proxy
Control access to a powerful poltergeist, delaying its full manifestation until the user crosses the threshold.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Proxy
ARCANUM SCHOOL: Abjuration // Guardian Wards
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
class PoltergeistInterface {
Unleash() {
throw Error("Not implemented")
}
}
class SupremePoltergeist extends PoltergeistInterface {
Unleash() {
Run("calc.exe")
Sleep(500)
Send("666")
}
}
class GuardianProxy extends PoltergeistInterface {
__New() {
this.real_spirit := ""
}
Unleash() {
if (this.real_spirit == "") {
this.real_spirit := SupremePoltergeist()
}
; Add warding logic here
if (A_Hour > 22 || A_Hour < 5) {
this.real_spirit.Unleash()
} else {
MsgBox("The spirits slumber.")
}
}
}
warded_spirit := GuardianProxy()
warded_spirit.Unleash()
Runic Tags:
#autohotkey
#proxy
#automation
#poltergeist