Click here to Skip to main content
15,900,511 members
Articles / Programming Languages / C#

Dynamic Strategy State Pattern

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
11 Dec 2023CPOL1 min read 4.5K   7  
Example of use of this pattern in game development
Dynamic Strategy State Pattern helps to activate and deactivate strategies within a state when switching to another state, based on whether the other state contains that strategy or not.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Ukraine Ukraine
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions