Por enquanto, esta lição está em 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 enquanto, esta lição está em 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.