Skip to content
@bstr@kt_k0de

Abstrakt Kode

Design Patterns, Algorithms, Concepts, and Principles, and More

  • Home
  • Design Patterns
  • Principles
  • Contact

Tag: strategy

Strategy Pattern

Imagine that you need to create a game where a character is able to fight. Character should be able to pick a weapon. Different weapon would preform different action. We need the character to be able to use his fists, a knife, and a gun. Every weapon can have its own set of attributes and … Continue reading Strategy Pattern →

Evgenii Klepilin Design Patterns 1 Comment May 21, 2019June 13, 2022 4 Minutes
Blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • Abstrakt Kode
    • Already have a WordPress.com account? Log in now.
    • Abstrakt Kode
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
Design a site like this with WordPress.com
Get started