Design Patterns in Cocos2d-x

Introduction
The article will be interesting for Cocos2d-x developers and those who study patterns. It is a short review, in which you can quickly see where a particular pattern is applied in Cocos2d-x. The full description of each pattern is not the purpose of this article.
Creational Patterns
Prototype
Prototype defines the interface for copying an object. A new object is created by copying the state of the object. For example, if we call clone() on an Animation object, we’ll create an Animation object with the same parameters.

Link: https://dzone.com/articles/design-patterns-in-cocos2d-x?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev