com.planeth.gtroids.highscores
Class HighScore

java.lang.Object
  extended bycom.planeth.gtroids.highscores.HighScore

public class HighScore
extends java.lang.Object

A Highscore item (name, score)

Author:
Andreas Grässer, gal@planet-h.com.
created 14.11.2005
See Also:
HighScoreManager

Constructor Summary
HighScore()
           
 
Method Summary
 java.lang.String getPlayer()
          Returns the player
 int getScore()
          Returns the score
 void setPlayer(java.lang.String player)
          Sets the player
 void setScore(int score)
          Sets the score
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HighScore

public HighScore()
Method Detail

getPlayer

public java.lang.String getPlayer()
Returns the player

Returns:
Returns the player.

setPlayer

public void setPlayer(java.lang.String player)
Sets the player

Parameters:
player - The player to set.

getScore

public int getScore()
Returns the score

Returns:
Returns the score.

setScore

public void setScore(int score)
Sets the score

Parameters:
score - The score to set.

toString

public java.lang.String toString()
See Also:
Object.toString()