الانتقال إلى المحتوى الرئيسي
٠

هذا الدرس بالإنجليزية حاليًا.

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.