The Strategy Ward
Selecting battle tactics dynamically.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Strategy
ARCANUM SCHOOL: Divination // Tactical Foresight
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// PONY PATTERN //
trait val CombatStrategy
fun execute_move(): String val
class val FlankStrategy is CombatStrategy
fun execute_move(): String val => "Flank the enemy!"
The Strategy Ward
Tactics passed as val traits allow warriors to safely swap strategies at runtime without corrupting battle plans.
Runic Tags:
#pony
#strategy