int Score { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Score property of the Achievement class represents the numerical value associated with the achievement. This value typically indicates the importance or difficulty of the achievement within the game context.

Usage

To access or modify the Score property, you can use the following syntax:

Example

// Example of accessing the Score property
Achievement achievement = new Achievement();
int currentScore = achievement.Score;

// Example of setting the Score property
achievement.Score = 100;