Arcade
|
Represents a score attained by a player in an arcade game. More...
Public Member Functions | |
Highscore (string initials, int score) | |
Constructs a new highscore using the specified 3 character initials and score. More... | |
Highscore (string initials, int score, long data) | |
Constructs a new highscore using the specified 3 character initials, score and auxiliary data. More... | |
Highscore (string initials, int score, DateTime date, long data) | |
Constructs a new highscore using the specified 3 character initials, score, time and auxiliary data. More... | |
int | CompareTo (Highscore other) |
Compares this highscore to another. Returns 1 if the other score is larger, 0 if they are equal, and -1 otherwise. More... | |
override bool | Equals (object obj) |
bool | Equals (Highscore other) |
Returns true if the given highscore has the same submission date, initials and score. More... | |
override int | GetHashCode () |
Properties | |
string | Initials [get] |
Three characters entered by the player to identify themselves. More... | |
int | Score [get] |
Number of points recorded in this highscore. More... | |
DateTime | Date [get] |
The date and time the Highscore was attained. More... | |
long | Data [get] |
May optionally contain some additional data related to the Highscore. More... | |
Represents a score attained by a player in an arcade game.
|
inline |
Constructs a new highscore using the specified 3 character initials and score.
|
inline |
Constructs a new highscore using the specified 3 character initials, score and auxiliary data.
|
inline |
Constructs a new highscore using the specified 3 character initials, score, time and auxiliary data.
|
inline |
Compares this highscore to another. Returns 1 if the other score is larger, 0 if they are equal, and -1 otherwise.
|
inline |
|
inline |
Returns true if the given highscore has the same submission date, initials and score.
|
inline |
|
get |
May optionally contain some additional data related to the Highscore.
|
get |
The date and time the Highscore was attained.
|
get |
Three characters entered by the player to identify themselves.
|
get |
Number of points recorded in this highscore.