Be a Supporter!

Browse Sections


Newgrounds Wiki: Score

  • Package: com.newgrounds
  • Class: Score
The Score class describes a user-submitted score on a ScoreBoard.

Methods

These are the methods of Score.

toString

Return to Top ^
public function toString():String

Properties

These are the properties of Score.

numericValue

Return to Top ^
public var numericValue:Number;
The numeric value of the player's score, used for sorting.

rank

Return to Top ^
public var rank:uint;
The position of this score on the ScoreBoard. The best score has a rank of 1.

score

Return to Top ^
public var score:String;
A user-readable score, for display to the user.

tag

Return to Top ^
public var tag:String;
The tag stores developer-defined metadata that can be stored with a score.

username

Return to Top ^
public var username:String;
The name of the player who submitted this score.