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