The State
An entity that alters its behavior entirely when its internal alignment shifts.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: State
ARCANUM SCHOOL: Transmutation // Shifting
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// PASCAL PATTERN //
unit StatePattern;
interface
type
IAlignmentState = interface
procedure Act;
end;
TEntity = class
private
FState: IAlignmentState;
public
procedure PerformAction;
end;
implementation
end.
Models polymorphic phase-shifts inside rigorous boundaries.
Runic Tags:
#alignment
#shifting
#dynamic