superwaba.ext.xplat.game
Class HighScoreEntry

java.lang.Object
  |
  +--superwaba.ext.xplat.game.HighScoreEntry

public class HighScoreEntry
extends Object

A highscore entry.

This class represents one entry in the game highscores database. A highscore entry has a given rank and is composed by a score and a performer name.

See Also:
HighScores

Field Summary
 String name
          The performer's name.
 int score
          The performer's score.
 
Constructor Summary
protected HighScoreEntry(HighScores parent)
           
 
Method Summary
 int getRank()
          Get the rank of this Entry in the HighScores table.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, toString, wait, wait
 

Field Detail

name

public String name
The performer's name.

score

public int score
The performer's score.
Constructor Detail

HighScoreEntry

protected HighScoreEntry(HighScores parent)
Method Detail

getRank

public int getRank()
Get the rank of this Entry in the HighScores table.
Returns:
score rank.