The Strategy
Interchanging combat algorithms on the fly against adapting horrors.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Strategy
ARCANUM SCHOOL: Evocation // Tactics
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// PASCAL PATTERN //
unit StrategyPattern;
interface
type
ICombatStrategy = interface
procedure ExecuteStrike;
end;
TSpellCaster = class
private
FStrategy: ICombatStrategy;
public
procedure Attack;
end;
implementation
end.
Delegates the specific execution of a mystical assault to encapsulated strategy objects.
Runic Tags:
#tactics
#interchanging
#algorithms