✨ ARCANUM RUNE DIFFICULTY: Adept Behavioral

The Memento of Chronomancy

Capturing and restoring the state of the magical weave without exposing its internals.

✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Memento
ARCANUM SCHOOL: Transmutation // Chronomancy
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
interface ChronomancyMemento
    exposes [WeaveState, Memento, saveState, restoreState]
    imports []

WeaveState : {
    mana : U64,
    activeSpells : List Str
}

# Memento is simply a saved copy of the record
Memento : WeaveState

saveState : WeaveState -> Memento
saveState = \state -> state

restoreState : Memento -> WeaveState
restoreState = \memento -> memento
Runic Tags: #fast-functional-wards #roc #memento #state