moagg.prefs.score
Class Score
java.lang.Object
moagg.prefs.score.Score
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Score>
public class Score
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Comparable<Score>
- See Also:
- Serialized Form
Constructor Summary |
Score()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Score
public Score()
getWrecks
public int getWrecks()
setWrecks
public void setWrecks(int wrecks)
incWrecks
public void incWrecks()
getPoints
public int getPoints()
setPoints
public void setPoints(int points)
incPoints
public void incPoints()
addPoints
public void addPoints(int points)
getElapsedTime
public long getElapsedTime()
setElapsedTime
public void setElapsedTime(long elapsedTime)
addElapsedTime
public void addElapsedTime(long elapsedTime)
getElapsedTimeAsString
public java.lang.String getElapsedTimeAsString()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
compareTo
public int compareTo(Score other)
- Specified by:
compareTo
in interface java.lang.Comparable<Score>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2008. All Rights Reserved.