blob: 2b98a292bc0b492aa2755a29f6137de3d9b47ad9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package net.sowgro.npehero.levelapi;
/**
* Represents one players score in the leaderboard
*/
public class LeaderboardEntry
{
public final int score;
public final String name;
public final String date;
/**
* Create a new LeaderboardEntry
* @param name The name the player input after completing the level
* @param score The score the player earned
* @param date The date the player earned this score
*/
public LeaderboardEntry(String name, int score, String date)
{
this.name = name;
this.score = score;
this.date = date;
}
}
|