Por ahora, esta lección está en inglés.
Your own types
A player has a name, a score and things they can do, like earning points. A class bundles that data and behavior into one new type, and each player you create is an object of that type.
Por ahora, esta lección está en inglés.
A player has a name, a score and things they can do, like earning points. A class bundles that data and behavior into one new type, and each player you create is an object of that type.