public class PlayerStats
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
int |
finishedGame |
Number of times player finished the last level.
|
int |
finishedLevels |
Number of levels finished by the player.
|
java.lang.String |
nick |
Player's name.
|
int |
retries |
Number of player's retries.
|
boolean |
retrieved |
is this information retrieved from the server?
|
Constructor | Description |
---|---|
PlayerStats() |
Modifier and Type | Method | Description |
---|---|---|
void |
sum(PlayerStats other) |
Sums finished levels, finishedGame and retries.
|
public java.lang.String nick
public int retries
public int finishedLevels
public int finishedGame
public boolean retrieved
public void sum(PlayerStats other)
other
- object to add.