April 2019
Intermediate to advanced
360 pages
9h 17m
English
We will use a game-level creation system as an example application that implements the prototype design pattern. We will have a BaseLevel prototype class and three concrete prototype classes, each for a different type of game level. These concrete prototype classes will implement the BaseLevel clone() method. Different game-level attributes will be applied individually to the three different game levels.
Read now
Unlock full access