- Package: com.newgrounds
- Class: Score
The Score class describes a user-submitted score on a ScoreBoard.
These are the methods of Score.
public function toString():String
The numeric value of the player's score, used for sorting.
public var rank:uint;
The position of this score on the ScoreBoard. The best score has a rank of 1.
public var score:String;
A user-readable score, for display to the user.
public var tag:String;
The tag stores developer-defined metadata that can be stored with a score.
public var username:String;
The name of the player who submitted this score.