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.
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.