Перейти к основному содержимому
0

Этот урок пока на английском.

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.