🐎 PONY WARD DIFFICULTY: Apprentice Behavioral

The Command Ward

Encapsulating arcane decrees.

✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Command
ARCANUM SCHOOL: Enchantment // Compulsion
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// PONY PATTERN //
trait val Command
  fun execute(target: Target ref)

class val SmiteCommand is Command
  fun execute(target: Target ref) => target.damage(50)

The Command Ward

Commands formulated as val objects can be queued up, sent across actor boundaries, and safely executed later.

Runic Tags: #pony #command