Apply State Pattern

Use when an object's behavior changes based on its internal state and the logic for each state is complex — replacing large conditional chains with state objects where each state encapsulates its own behavior.

jeffreytse Updated
grimoire

File contents

jeffreytse/grimoire-core commit 318cdbd711

Frequently asked questions

npx get-skill add jeffreytse/apply-state-pattern