본문으로 건너뛰기
0

이 레슨은 당분간 영어로 제공돼요.

Your own types

A player has a name and a score. A reward can be points, a badge or nothing at all. Structs and enums let you say exactly that, and the compiler holds you to it.