jeudi 4 mars 2021

Design pattern for equip or unequip equipment in game

Let's say the player plays as a character and can equip weapons, armor and etc much like any other game, and they can also unequip those equipments. Will decorator design pattern do the works? Or is there any design pattern that best fits this situation?

Aucun commentaire:

Enregistrer un commentaire